When install eclipse for C and C++, the following steps should be taken:
1) install JRE, eclipse can work only if JRE exists;
2) install eclipse;
3) install CDT;
4) install MinGW (c and c++ compiler);
http://developer.51cto.com/art/200906/126363.htm
Firstly, build a project named "helloword", and when I try to change the code and rebuild again, there is an error showing "cannot open out put file test.ext, permission denied". It happens because the former helloword.exe is still running. The solution is to stop it. In the "console", there is an icon "display selected console". Select all the running consoles and stop them by clicking the red square button, then rebuild the project, debug and run. There will be no problems.