Version and environment:
OS: win7
JDK: 1.6
Mingw: 4.6.2
Step 1: Download The Eclipse IDE for C/C ++ developers version from the eclipse official website. Step 2: Download mingw. It will take about half an hour. After the installation is complete, copy the mingw32-make.exe file in the mingw_home \ bin directory (optional values) and change it to make.exe Step 3: Configure environment variables (important ). Assume that mingw is installed in D: \ mingw. Eg: mingw_home = D: \ mingw LIBRARY_PATH = % mingw_home % \ Lib c_include_path = % mingw_home % \ include cplus_include_path = % mingw_home % \ Lib \ GCC \ mingw32 \ 4.6.2 \ include \ c ++ "; add % mingw_home % \ bin step4 at the end of path: the simplest helloworld. problems encountered in cpp1.build project2.run local C/C ++ project: 1. because I am used to running Java in eclipse, I forgot to build the project. At the beginning, the "launch failed, binary not found" 2 always pops up. solve the binary not found problem, window-> preferences-> C/C ++-> New C DT Project Wizard-> makefile project locate binary parser to cancel elf parser and select PE windows parser.