變數的宣告:extern int num;注意:int num; 並不是宣告,是定義。 ... 外部檔案A.h int num = 3; //在外部檔案定義一個全域變數 //上述也可寫成以下 ...
確定! 回上一頁