In order to follow along with this tutorial, you’ll need to download a special program called an IDE, which stands for Integrated Development Environment. An IDE is a collection of tools that we use to write, run, and fix our code, and it’s designed to make our programming tasks easier.
If you’re not familiar with terms like “run” or “debug” at this stage, don’t worry! As you progress through this course, you’ll become familiar with these concepts and learn how to use them effectively.
For now, I suggest downloading an IDE called CodeBlocks onto your computer. It’s a great option to get started with and will help you throughout this tutorial.
Install code::Blocks for windows
Follow the steps given below to download CodeBlocks for windows.
Step 1: Visit the official website of Code::Blocks – https://www.codeblocks.org/ Step 2: Click on Downloads link given in the sidebar of the official page as shown below
When I created this tutorial, I captured a screenshot of the official website. However, it’s possible that the website’s appearance may have changed since then. Nevertheless, your task is to locate the Downloads option on the website in order to download the necessary executable file.
Step 3: Once you click on the Downloads option, you will be taken to a new page. On this page, you should look for a link that says “Download the binary release.” This is the simplest and most straightforward way to download the Code::Blocks IDE along with all the necessary tools you’ll need. Just click on that link, and the download process will begin.
Step 4: Now, you will be redirected to a page where you will have multiple options to download Code::Blocks. Scroll down and you will see the following:
Now, depending upon your system configuration, you can download the 32 bit or 64 bit version of CodeBlocks. Note that the default builds are 64 bit.
For 32 bit system: Click on the Sourceforge.net link (recommended) associated with codeblocks-20.03mingw-32bit-setup.exe
For 64 bit system: Click on the Sourceforge.net link (recommended) associated with codeblocks-20.03mingw-setup.exe
After clicking the appropriate link, you will be redirected to sourceforge.net website where the download will start automatically after a few seconds.
Please keep in mind that the version of Code::Blocks you encounter may be different from what I used. When I installed it on my computer, it showed version 20.03. Therefore, when you download Code::Blocks, make sure to select the appropriate setup file based on the version provided.
Additionally, it is recommended to install the mingw version of Code::Blocks. This version already includes the GCC compiler, which saves you the trouble of separately downloading and installing it. By opting for the mingw version, you can avoid any potential complications.
Step 5: Run the executable and you will be prompted with the following screens:
Click next.
Click “I Agree”
Keep the settings as it is and click on “Next”.
Finally, click on “Install”. The installation will end soon and you will be asked to “Run Code::Blocks now.” We will soon write our first program in CodeBlocks, so for now click “No” and then click “Next.” You will then see a window with the message “Code::Blocks has been installed on your computer. Click finish to close setup.” Click the finish button and you are all set to write your first program in C.
Leave a comment