第22課 條件編譯使用分析

條件編譯的基本概念:   條件編譯就是利用預處理器的功能來對代碼進行一些刪除操作。 程序示例: 1 #include <stdio.h> 2 3 #define C 1 4 5 int main() 6 { 7 const char* s; 8 9 #if( C == 1 ) 10 s = "This is first printf...\n
相關文章
相關標籤/搜索