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.
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|
|Developer||The Code::Blocks team|
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)
- 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
- 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: http://www.codeblocks.org/downloads
- 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:
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:
Click on “Console Application” and hit the “Go” button.
Click next until you get to the Language Selection Dialog:
You’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:
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:
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:
(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.
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
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|
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