码迷,mamicode.com
首页 > 编程语言 > 详细

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

时间:2014-10-07 19:34:23      阅读:222      评论:0      收藏:0      [点我收藏+]

标签:eclipse for cc++   三字母词   trigraph   

设置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!

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

标签:eclipse for cc++   三字母词   trigraph   

原文地址:http://blog.csdn.net/wilsonpeng3/article/details/39855443

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!