How to install C++ plugin to Eclipse?

后端 未结 4 2248
青春惊慌失措
青春惊慌失措 2020-12-02 19:29

I apologize beforehand for this noobish Q, but Im starting to learn C++, and have only used Java.

I have also searched here and elsewhere for a solution to this and

4条回答
  •  情深已故
    2020-12-02 20:10

    Nowadays (Eclipse Juno and newer), it is much simpler. You just need to:

    • Install MinGW (and including C++ compiler)
    • Add the paths "C:\minGW\bin" and "C:\minGW\msys\1.0\bin" (or wherever you installed MinGW to) to your Windows "Path" variable
    • Install Eclipse. If Eclise already is installed, restart it. it will recognize that MinGW is now available.
    • Create a New project: "C++ Project"
    • For every Project type in the following dialog, you should now be able to select the "MinGW GCC" toolchain
    • Happy coding

提交回复
热议问题