linux 下Eclipse for C/C++的不常见设置

时间:2014-10-07 19:34:23   收藏:0   阅读:222

设置1:build project的时候,让编译器支持  三字母词。

项目文件右击--> Properties-->C/C++ Build--> Settings 如图设置:

bubuko.com,布布扣

再 Command line pattern 如图的位置加上 -ansi 或者 -trigraphs 即可。

现在可以尝试下 加 和 不加 这个参数下面代码的执行效果: printf("delete files? (are you really sure about this ??) ");

ok,this work has been completed! good luck!

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!