C編譯時`true' undeclared (first use in this function)

 在編譯C語言時有時會遇到這樣的錯誤提示: `true' undeclared (first use in this function) or `false' undeclared (first use in this function) 就是說 bool, true, false 都是undeclared,緣由很簡單,由於真正的C中沒有這些關鍵字,c和早期的c++裏沒有關鍵字bool,使用BOO
相關文章
相關標籤/搜索