eclipseC/C++环境下添加C99特性 添加c99新特性:新装好的eclipse不支持c99新特性,如for ( int i = 0; i < 10; i++){ }是会报错的,这时,你可以自行添加C99特性,具体步骤:右键点击项目->Properties->C/C++ Build -> Settings -> Tool Settings -> GCC C Complier -> Miscellaneous在 "Other flags" 中追加 -std=c99
eclipseC/C++环境下添加C99特性 添加c99新特性:新装好的eclipse不支持c99新特性,如for ( int i = 0; i < 10; i++){ }是会报错的,这时,你可以自行添加C99特性,具体步骤:右键点击项目->Properties->C/C++ Build -> Settings -> Tool Settings -> GCC C Complier -> Miscellaneous在 "Other flags" 中追加 -std=c99