Go to the official website to download Eclipse. My current version is 3.4.2. Decompression to C: / Eclipse unpack of about 120MB, execute Eclipse.exe, specify the workspace location. Click Help-> Software Updates-> Find and Install-> Search for New Features To Install to connect to the Taiwan site, the lower plugin is installed. If you do not install a plugin, the following CDT may fail. Since I didn't figure out which plug-ins of the CDT, it was all an ancient brain, and the Eclipse volume expanded to 280MB.
At that time, the Taiwan site did not have a CDT, so he went to the official website CDT (Runtime SDK) to dispenser to copy the corresponding file to the Eclipse corresponding to the directory. Downloading the GNU C, C compiler that can be used on Windows. MINGW is a good choice. At that time, MINGW always couldn't, so I had a DEV C 4.9.9.2 (bringing MINGW) After installing DEV C , copy the three fold to C: / DEV-CPP in the C: / DEV-CPP to C: / In the MINGW directory, click File-> New-> Standard Make C Project to specify the project name Demo in Eclipse, point NEXT to configure environment variables in the Enviroment tab. Basic environment variables are set as follows: path: c: / mingw / bin; library_path: c: / mingw / lib c_include_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; c: /mingw/lib/gcc/mingw32/3.4.2/include Point "Finish" right-click on the left Navigator "demo" new Soucefile, name main.cpp Edit main.cpp, click File-> New-> File to name makefile. Edit Makefile, content is all: g main.cpp -g -o test Note G has a Tab (not 4 space!) Right-click in the make targets window, select Add Build Target Name Enter build. Build Target Enter: All Save all: file-> save all, pay attention to save can be build, and in the VC is Build's automatic Save. Double-click the mouse on the Make Targets "Build" that has just been established, and we can find that Test.exe has been generated under our project. The following output results can be seen under the bottom C-Build window: make -k all g main.cpp -g -o test * .exe before performing the pre-execution. Because Run under Windows, you must first set up the project-> Properties-> C / C make Project-> Binary Parser page. Binary Parser pull-down menu, change Elf Parser to PE Windows Parser. Execute Test.exe: Run-> Run as-> C Local Application. See the execution result of Test.exe at the bottom under the bottom.
If you are not clear, go to the IBM site, there are many useful information.
In the first use of Eclipse, many things are unclear, so I hope that prawn guidance.