Translations of this page?:

预处理指令

C++ 預處理器會在所有編譯工作前執行。程式設計員能借給予預處理器指令去定義變數、替換文本、和檢驗簡單的條件式。

# and ##文本相關指令
#define定義預處理器變數
#error輸出錯誤訊息
#if, #ifdef, #ifndef, #else, #elif, and #endif條件陳述式
#include附加其他代碼檔案的內容
#line設定輸出時行數
#pragma編譯器自訂功能
#undef取消定義預處理器變數
Predefined preprocessor variables其他內建預處理器變數
 
• • • SitemapRecent changesRSScc