C programming | Setting up compiler

In this ‘C programming setting up compiler‘ tutorial, you will learn about how to install compiler to run c program on your local machine.

C compiler – Setting up Codeblocks

There are varieties of compilers available in the market and the internet. Some of the famous compilers are listed below:

  • Borland C
  • Turbo C
  • Dev C
  • CodeBlocks
  • Microsoft Visual C++
  • Digital Mars C++ and others

Among these here are the instructions to install and use the codeblocks on your computer.

Codeblocks Instructions

1: Go to the website www.codeblocks.org


Directly go to link www.codeblocks.org/downloads to download the codeblocks for free from either of the links above or from sourceforge.net.

2: After downloading the file, double click the .exe file and following the instruction you can easily set up codeblocks. While finishing the installation click run and first look of the codeblocks will be like


3: After then to write your first program go to file>New>empty file or you can press shortcut key ctrl+shift+N as in the following picture.

4: Finally to compile and run your written code go to Build>Build to compile and Build>Run to run the program.

Setting up C programming compiler

This codeblocks is pretty easy to download, install and use. Now that you have your compiler installed let’s jump to the tutorials of C programming.