Tools: Eclipse for C + +;
Because Eclipse does not integrate the C + + compiler and running environment, it needs to install g++ and so on itself;
Method:
Use MinGW to download and install the required tools;
: http://www.mingw.org/download.shtml
1. Installation and download:
Things to Install, (online)
After installation: MinGW, the following screen will pop up:
After that, right-click on the file you want to install, then "make for Installation", then select "Installation" and "Apply Changes" in the upper-left corner, then tap "Apply" in the popup screen.
2. Environment configuration:
Variable Name variable value
PATH C:/mingw/bin;
Library_path C:/mingw/lib
C_includede_path C:/mingw/include
Cplus_include_path c:/mingw/include/c++/3.4.2; C:/mingw/include/c++/3.4.2/mingw32; C:/mingw/include/c++/3.4.2/backward; C:/mingw/include;
Description:cplus_include_path do not need to configure also can, because I installed the Wingwin directory is not those things, the other several should be required;
3. Create the project:
Check the option in the red box, otherwise you may not be able to perform other errors;
After creation, compile, execute, ok~