In pervious post, I’ve given you an intro about compilers, programming languages etc. In this, I am going to tell you how to install an compiler, with IDE… But wait, Had I told you about IDE? No… So here is a bit about IDE.
IDE stands for Integrated Development Environment. IDE is a program that contain a whole bundle of softwares, such as compiler, debugger, Graphical User Interface (GUI) etc.
There are many compilers such as Visual Studio, Codelite, CYGWIN (Commandline Compiler) etc. But here, We are going to use CodeBlocks Compiler. You can use any alternative if you want, But it will be helpful for you to use the compiler that I am using.
Ok, So here we start. Here are step-by-step instructions to download and install CodeBlocks.
- Open a new tab in your browser and go to http://www.codeblocks.org/
- Click on Downloads Button present in the main bar
- Click on “Download the binary release”
- Then, On the following screen, click on the operating system that you are using. I am using Windows, So I will click on “Windows 2000/XP/Vista/7//8”
- Now, You’ll see three options for windows, find “codeblocks-13.12mingw-setup.exe”, And download it from Sourceforge.net
- Wait for a few seconds, and you’ll see download Box
Now, After download follow the following steps to Install Codeblocks.
- Double-Click on the file that you’ve downloaded.
- When it asks for permission, click on YES
- Click on Next, And then on I AGREE
- Under Next, Screen select “Full: All Plugins, All Tools, Just Everything” if it isn’t already selected.
- Click on Next Button, Select location (I’ll install on default), and then click on Install.
(If It asks that do you want to run program now. If you already know C++, then click on yes, Else Click on NO for now. )
- Click on next and then on Finish
- Congratulations, You’ve successfully downloaded and installed Codeblocks
In the next tutorial, you’ll create your own first and very basic C++ program. I’ve tried my best to make it as easy as possible. If there is anything confusing then you can ask me in comments.