C++ Compiler

C++ → Install C++ Compiler

The first step towards learning C++ programming is to download and install C++ Compiler. The compiler is needed to build a C Plus Plus program and run it!

How to install a C++ compiler?

  1. Open www.codeblocks.org
  2. Click on Downloads on top of the page
  3. Click on Download the binary release (the first option)
  4. In Windows 2000 / XP / Vista / 7 in front of codeblocks-17.12mingw-setup.exe click on Sourceforge.net
  5. Install the compiler
  6. Open the CodeBlocks (you installed recently)
  7. In File menu select “New Project”
  8. Select Console Application
  9. Select C++ and click Next
  10. Name the new project and click finish
  11. Now see the left menu: Your given name and +sources. Click on the + button of sources. It shows the main.cpp Double click the main.cpp Now it shows the first written C++ Hello World! program.

NEXT: C++ Basics