Adding a C/C++ nature to an Eclipse project

左心房为你撑大大i 提交于 2019-12-18 12:04:42

问题


Does anybody know how to add a C/C++ project nature to an Eclipse project through the UI ? I'm importing a project and working with legacy code that was originally started in Visual Studio 4 and I'd really like to be able to make as much use of Eclipse's helpers as possible.


回答1:


Assuming you've got the CDT plugin installed

Right-click on the project.

Select: New -> Other

Under C/C++, select "Convert to a C/C++ project"




回答2:


Create a new C project using the existing source code.



来源:https://stackoverflow.com/questions/1323107/adding-a-c-c-nature-to-an-eclipse-project

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!