Code-Blocks is a full featured and modern IDE for C/C++ Programming. It is an opensource, cross platform and easy to use IDE and one of the favorite of many students who starts learning C Programming.
So in this tutorial I will cover all the steps to install Code-blocks on your Windows system.
Let's get started
1. Download Code-blocks
On Windows system, you need to download the MinGW setup installer. As GCC compiler is provided for Windows systems by MINGW project.
Before downloading make sure that your Windows operating system is 64 bit or 32 bit. And then download the Code-blocks setup accordingly. But if you are unsure about it, then don't worry. Just download the Code-blocks 32 bit setup as that will work on both 64 bit and 32 bit operating systems.
Download link - http://www.codeblocks.org/downloads/binaries
Open the above link and go to 'codeblocks-20.03mingw-setup.exe' for Code-blocks 64 bit installer and then click on one of these links of Foss-Hub or Sourceforge.net to download it.
Code-blocks 32 bit installer is named with 'codeblocks-20.03-32bit-setup.exe'.
Even you will see more setup options there, but I will recommend you to go with the codeblocks-20.03mingw-setup.exe.
Some of the options among the different setup types are without compiler setup, installer without admin right required and zip format with no need to install, just run the Code-blocks from extracted folder etc.
2. Install Code-blocks on Windows
You will see Code-blocks installer in your download folder after download is complete.
I. Double click the Code-blocks installer to start installation process
II. Installation process started, click on 'Next' button
III. Click on ‘I Agree’ button to accept the license
IV. Select the type of install as Full and click on Next button
V. Select Code-blocks installation folder.
Here you can change it or go with default, and then click on 'Install' button
VI. Click on 'Yes' button if you want to start Code-blocks immediately after the installation.
If you clicked 'Yes button, then it wiill configure Code-blocks settings while installation is going on.
VII. Here first click on GCC Compiler, then click on 'Set as default' button and after that click on 'OK' button.
VIII. In this pop window, now select '...C/C++ file types', then click on 'OK' button.
IX. Code-blocks installation is almost finished, and you will see Code-blocks interface now.
X. Quit Code-blocks now by clicking on 'File' menu button and then on 'Quit' button.
XI. While exiting Code-blocks, it again ask you to save the settings.
Here first tick on checkbox' saying Don't annoy me again!', and then click on 'Yes' button.
XII. Second last step of installation, click on 'Next' button.
XIII. At last finished Code-blocks installation on your Windows 10 system, click on 'Finish' button.
3. Check Code-blocks folder and files
Now let's check the default Code-blocks installation folder e.g. 'C:\Program files\Codeblocks'.
And here is the GCC compiler file located inside 'MINGW\bin' folder, which will compile your C Program.
Conclusion
Thus, we have seen how to install Code-blocks on Windows 10 system. Here we have installed GCC compiler based Code-blocks 20.03.
Code-blocks is an opensource software and it is available in 32 bit and 64 bit versions. Install Code-blocks on your system now and we will see how to write and compile C Program using Code-blocks in next tutorial
















Comments
Post a Comment