To run a C/C++ program you need a compiler there are many compilers available e.g. GNU GCC, Tiny C, MS Visual C++, Cygwin, Intel C, Borland etc. And also, an IDE (Integrated Development Environment) i.e. Dev Cpp/C++, Eclipse, Code::Blocks, TurboC etc.
For More About IDE/Compilers Visit: Getting Start With C/C++ – Overview
You can use any IDE for programming one suits your needs. You can even use TurboC for C/C++ but it’s out dated now. New IDEs provide variety of features and shortcuts.
Below is the tutorial to install and set up Dev C++ which is one of my favorite IDE for C/C++ programming.
- Download Orwell Dev C++ from Here.
- Run Dev-Cpp 5.11 TDM-GCC 4.9.2 Setup File.
- Select your language and click “OK”.
- Read terms of agreement and click on “I Agree”.
- Make sure installation type selected is “Full” and then press “Next”.
- Select the “Destination Folder” and click on “Install”.
- Wait till it’s installs.
- Click “Finish” to finish the setup and run dev cpp.
- Select your language and click “Next”
- Select “Font”, “Color” and “Icons” from drop down menu and click “Next”. Remember that you can change these setting latter from settings.
- That’s it now you can create a new file and start writing your code.