怎么用eclipse编译c语言的程序

我用的是elipse3.0版的,也把cdt-2.1.0-win32.x86装好了,在eclipse里能创建C\C++的项目,说明cdt装好了,也按照网上介绍的设置把eclipse里的window->preference->make->new make projects->binari parser设置成PE windows Parser,但编译c程序的时候还是会出现
“launch failed no binaries”,怎么弄才能编译C呢?

安装CDT插件后,eclipse就可以编译运行C、C++系统。
安装CDT的步骤:
1、 安装eclipse
2、启动eclipse,点击Help菜单
3、选择Install new software菜单项
4、点击Work with:all available sites
5、搜索cdt,选择其中一款cdt,例如:cdt for Visual C++ support
6、点击确定即可
温馨提示:答案为网友推荐,仅供参考
第1个回答  2008-03-27
在window->proferences的设置对 project不起作用
需要在 project-> properties 中对 c/c++ make project 的 binary parse 进行设置到 win 下。本回答被提问者采纳
相似回答