原创 條件編譯,按位取反的錯誤

1.使用#ifdef 後面不要帶括號 正確: #ifdef D8990 錯誤: #ifdef (D8990) 截圖摘自《C Primer Plus》 2.正確: #if defined (D8990) 3.易錯點: 不要混用: 邏輯非: