Eclipse is a very popular and most commonly used Integrated Development Environment (IDE). Mainly famous in Java commuity, Eclipse is also widely used for many other programming language, which in our case is C. This tutorial is specific to C development. Eclipse can use available compilers to compile C code in integrated mode. We can make use of Microsoft .NET compilers, Cygwin, or any other suitable compiler that is available. In this tutorial, we will make use of Minimalist GNU for Windows (MinGW), a complete Open Source programming tool set. The first step will be to download and install Eclipse available at :
http://mirror.bit.edu.cn/eclipse/technology/epp/downloads/release/luna/R/eclipse-cpp-luna-R-win32.zip
After downloading eclipse, we only need to uncompress the file using any suitable software, such as Winzip or Winrar. Please make sure that Java is already installed on your computer. Eclipse is developed in Java and required an appropriate version of Java installation on the system. Please also add Java bin directory to PATH environment variable and also set JAVA_HOME and JRE_HOME environment variables as shown in figure below:
Second step will be to download and install MinGW available at:
http://www.mingw.org/.
Or specifically, we used following link:
http://cznic.dl.sourceforge.net/project/mingw/Installer/mingw-get-setup.exe
Execute the downloaded executable and select the options as shown in figure below:

After installation, please make sure that the bin folder of the MinGW is added to Path variable in system variables as shown in figure below:
Double click on eclipse.exe in Eclipse folder to start Eclipse. Eclipse will ask you to select a workspace. Workspace is the directory, where Eclipse will store all the sources of your projects that you will create in Eclipse IDE.
You will see a welcome screen after IDE is started.
First step in Eclipse is to create a C Project.
Give your project an appropriate name.
On next dialog, simply click finish button.
On the left side of IDE, you can click the project explorer button as shown in figure below:
This will open the Project Explorer window. The next step will be to add .c source file to the project.
Right click on project folder and select New -> Source File as shown in figure below:
Give your source file a suitable name with .c extension.
After clicking the finish button, the source file will open in the window.
Write you program in the source file.
Build your project using the Project -> Build Project menu as shown in figure below:
If there are any error in your project, you will see them in console window below. If you don't see any error, your are ready to execute your project/program using Run -> Run menu as shown in figure below:
The output of your project will appear in the console window below. You can also use the same window for input of your program.