Code::Blocks Opensource Advanced C++ IDE For PC

Code::Blocks is one of the popular Open Source IDE options available for developers working on PC. It is a highly changeable IDE that performs consistently across all the platforms; so it is really great for developers who frequently switch their working area from one platform to another. This Tool supports multiple compilers, including GCC, MinGW, Digital Mars, Microsoft Visual C++, Borland C++, LLVM Clang, Watcom, LCC, and the Intel C++ compiler.

Code Blocks C++ Compiler


System Requirements Of C/C++Compiler Software

Operating System Windows: Windows XP / Vista / 7 / 8.x / 10
Linux: CentOS and RedHat Linux
Mac: Mac OS X 10.6 and later

Technical Specification Of C/C++ Compiler Software

Software Name Code::Blocks Software For Windows
File Size 183 MB
Languages English, Italian, French, Spanish, Polish, Chinese,German, Japanese
License Free
Developer The Code::Blocks team

Download Software For PCDownload Software For PC

C++ Compiler code blocks

Main Features Of C/C++ Compiler


  • Open Source! GPLv3, no hidden costs.
  • Cross-platform. Runs on Linux, Mac, Windows (uses wxWidgets).
  • Written in C++. No interpreted languages or proprietary libs needed.
  • Extensible through plugins


  • Multiple compiler support:
      • GCC (MingW / GNU GCC)
      • MSVC++
      • clang
      • Digital Mars
      • Borland C++ 5.5
      • Open Watcom
  • Very fast custom build system (no makefiles needed)
  • Support for parallel builds (utilizing your CPU’s extra cores)
  • Multi-target projects
  • Workspaces to combine multiple projects
  • Inter-project dependencies inside the workspace
  • Imports MSVC projects and workspaces (NOTE: assembly code not supported yet)
  • Imports Dev-C++ projects


  • Full breakpoints support:
      • Code breakpoints
      • Data breakpoints (read, write and read/write)
      • Breakpoint conditions (break only when an expression is true)
      • Breakpoint ignore counts (break only after certain number of hits)
  • Display local function symbols and arguments
  • Interfaces GNU GDB
  • Also supports MS CDB (not fully featured)
  • User-defined watches (support for watching user-defined types through scripting)
  • Call stack
  • Disassembly
  • Custom memory dump
  • Switch between threads
  • View CPU registers


  • Syntax highlighting, customizable and extensible
  • Code folding for C, C++, Fortran, XML and many more files
  • Tabbed interface
  • Code completion
  • Class Browser
  • Smart indent
  • One-key swap between .h and .c/.cpp files
  • Open files list for quick switching between files (optional)
  • External customizable “Tools”
  • To-do list management with different users

How To Install and Get Started CodeBlocks for C/C++ Programming?

This tutorial gives you easy-to-follow instructions, with screenshots, for setting up a compiler (the MINGW compiler), a tool that will let you turn the code that you write into programs, and Code::Blocks, a free development environment for C and C++.

Step 1: Download Code::Blocks

  • Go to this website:
  • Follow the link to “Download the binary release”
  • Go to the Windows 2000 / XP / Vista / 7 section
  • Look for the file that includes mingw in the name. (The name as of this writing was codeblocks-10.05mingw-setup.exe; the 10.05 may be different).
  • Save the file to your desktop. It is roughly 74 megabytes.

Step 2: Install Code::Blocks

  • Double click the installer.
  • Hit next several times. Other setup tutorials will assume you have installed in C:\Program Files\CodeBlocks (the default install location), but you may install elsewhere if you like
  • Do a Full Installation
  • Launch Code::Blocks

Step 3: Running in Code::Blocks

You will be prompted with a Compilers auto-detection window:

How to install & setting up code Block

When you get the compiler auto-detection window, just hit OK. Code::Blocks may ask if you want to associate it as the default viewer for C/C++ files–I’d suggest you do. Click on the File menu, and under “New”, select “Project…”

The following window will come up:

how to install code blocksClick on “Console Application” and hit the “Go” button.

Click next until you get to the Language Selection Dialog:

C++ CompilerYou’ll be asked to choose whether you want to use C or C++. If you’re not sure, use C++. Otherwise, choose based on the language you are learning. (You can find tutorials here on both C and C++.)

After clicking “Next”, Code::Blocks will then prompt you with where you’d like to save the console application:

C++ Compiler & install

I’d recommend you put it in its own folder, as it may create several files (this is especially true if you create other types of projects). You will need to give your project a name, anything will be fine.

Clicking “Next” again will prompt you to set up your compiler:

how to install code blocks

You don’t need to do anything here. Just accept the defaults by hitting “Finish”.

You can now open the main.cpp file on the left:

C++ Compiler Code Blocks(You may need to expand the contents of the “Sources” folder if you don’t see main.cpp.)

At this point, You will have your main.cpp file, which you can modify if you like. For now, it just says “Hello World!”, so You can run it as is. Hit F9, which will first compile it and then run it.

how to install code blocks

You now have a running program! You can simply edit main.cpp and then hit F9 to compile it and run it again.

Now that you’ve finished setting your compiler up, it’s time to learn to program: Intro to C++ (or if you’re learning C, Intro to C).

Alternatives Of Code::Blocks

Eclipse: The Eclipse software development environment provides programmers with the means of creating client-oriented applications within an IDE, along with a comprehensive plug-in system. It is based programming language is Java. However, thanks to several dedicated plug-ins, it can also be utilized to work with other programming and scripting languages, such as C, C++, JavaScript, PHP, Perl, Python, Ruby, Ada, or COBOL.

RubyMine Code Editor: RubyMine IDE includes a comprehensive Ruby code editor aware of dynamic language specifics. It provides smart coding assistance, intelligent code refactoring, and deep code analysis capabilities. With easy project configuration, automatic Ruby Gems management, Rake support, and built-in consoles, it has everything a Ruby developer needs in a development tool who needs to create a convenient environment for productive Web development.

MonoDevelop: MonoDevelop is an IDE software that enables developers to quickly write desktop and web applications on Windows OS. It also makes it easy for developers to port .NET applications created with Visual Studio to Linux and macOS maintaining a single code base for all platforms.

Pros and Cons of Code::Blocks

Automatic detection of compilers Some plugins are poor quality
Build compilations without makefiles
The extensive number of plugins
Autofill code


Code::Blocks might not be as powerful as Visual Studio yet it still provides elite functionality. It can be used for an array of production quality projects. Anyone who works with wxWidgets or production code will prefer this IDE over most others. The bottom line is that Code::Blocks is an excellent no-cost solution for C++ development with Linux.

Download Software For PC

Download Software For PC