推 stupid0319: 寫Driver? 12/02 22:04
→ jfcherng: if (not define A) { 12/02 22:05
→ jfcherng: define A; 12/02 22:05
→ jfcherng: // other codes 12/02 22:05
→ jfcherng: } // #endif 12/02 22:05
→ jfcherng: 類似這樣被解釋的吧 12/02 22:06
→ Laleh: 那跟 #pragma once 有差異嗎 thx~ 12/02 22:10
→ stupid0319: 說不是有其他標頭檔有相同的#define __INCvxWorksh 12/02 22:21
推 chuegou: 是指編譯過程中遇到第二次#include "INCvxWorks.h" 12/03 00:32
→ chuegou: 就不會重複編譯吧 12/03 00:33
推 overhead: 很多檔案include來include去時,.h檔常常會被重複編譯 12/03 00:34
→ overhead: 你應該是沒有注意到檔案有被重複編譯的可能性吧? 12/03 00:35
→ longlongint: 你知道 Macro 嗎 12/03 06:00
推 OPIV: 和 #pragma once 是一樣的 12/03 08:37
推 IhateOGC: 你知道重複宣告嗎? 12/08 13:14