The CDT Project provides a fully functional C and C++ Integrated Development Environment based on the Eclipse platform. Features include: support for project creation and managed build for various toolchains, standard make build, source navigation, various source knowledge tools.
In order to setup Eclipse, if you have general eclipse then, open this eclipse. Open :
Help > Install New Software
past the url ( http://download.eclipse.org/tools/cdt/releases/<your eclipse edition > ) and chick add, after this install CDT as usual as other eclipse plugins are.
Step 1 :
In order to run CDT in eclipse we need to download mingw from http://www.mingw.org/ website, and then install mingw by checking 2 options :
1. MinGW Compiler Suite > C Compiler
MinGW Compiler Suite > C++ Compiler
2.MSYS Basic System
Step 2 :
Add 2 strings in System PATH : D:\mingw\MinGW\bin;D:\mingw\MinGW\msys\1.0\bin
Make a new project (C/C++) in Eclipse by selecting MinGW GCC toolcahin, and you are done.