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?
- Open www.codeblocks.org
- Click on Downloads on top of the page
- Click on Download the binary release (the first option)
- In Windows 2000 / XP / Vista / 7 in front of codeblocks-17.12mingw-setup.exe click on Sourceforge.net
- Install the compiler
- Open the CodeBlocks (you installed recently)
- In File menu select “New Project”
- Select Console Application
- Select C++ and click Next
- Name the new project and click finish
- 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