CodeBlocks is a free open source integrated development environment for C++, which uses the GNU Compiler Collection (GCC) by default.
Note
Installing CodeBlocks on Windows
The latest release of CodeBlocks is 10.05. Go to http://www.codeblocks.org/, select Downloads from the top navigation bar. Then click on Download the binary release and download codeblocks-10.05mingw-setup.exe
by clicking on BerliOS. Double-click on the downloaded file and follow the instructions of the installer.
If you don't feel comfortable using Visual Studio, CodeBlocks may be the right solution for you. While CodeBlocks may not offer as many advanced features as Visual Studio does, it has the advantage of being cross-platform and projects created with CodeBlocks can be easily used and shared on Windows, Linux, and Mac OS X. And there's no need for Redistributable files and so the application compiled with CodeBlocks won't necessarily need an installer and the redist
packages. For example, Visual C++ needs Microsoft Visual C++ Redistributable package to install runtime components to run the applications created using Visual C++.