2013年9月2日 星期一

Q. Why all the example project put all .c and .h file in the root folder

每開一個範例程式

都不禁注意到基本上都將所有檔案放在同一個根目錄資料夾

不會分類

這樣的目的為何?

自己猜測

1. 為了每個檔案都有獨一無二的名稱, 方便 Include Guard 不會衝突