How to install C++ plugin to Eclipse?

后端 未结 4 2274
青春惊慌失措
青春惊慌失措 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:03

    g++ is installed as part of MinGW. If you are getting an error in Eclipse that it cannot find g++ then your path is most likely incorrect. From a command prompt you should be able to run:

    g++ --version

    and it should display the version of g++ in the MinGW/bin directory.

    Eclipse uses this path to locate the include files and the compiler. Once you get the path correct restart Eclipse and the problems listed in your question should be resolved.

提交回复
热议问题