Code::Blocks
DeveloperThe Code::Blocks team
Initial release2005; 21ย years agoย (2005)
Stable release
25.03[1]Edit this on Wikidata / 31 March 2025; 13 months agoย (31 March 2025)
Preview release
svn 13634 / Marchย 15, 2025; 14 months agoย (2025-03-15)
Written inC++ (wxWidgets)
Operating systemCross-platform
TypeIDE
LicenseGPL-3.0-only[2]
Websitewww.codeblocks.org Edit this at Wikidata
Repository

Code::Blocks is a free, open-source, cross-platform IDE that supports multiple compilers including GCC, Clang and Visual C++. It is developed in C++ using wxWidgets as the GUI toolkit. Using a plugin architecture, its capabilities and features are defined by the provided plugins. Currently, Code::Blocks is oriented towards C, C++, and Fortran. It has a custom build system and optional Make support.

Code::Blocks is being developed for Windows and Linux and has been ported to FreeBSD,[3] OpenBSD[4] and Solaris.[5] The latest binary provided for macOS version is 13.12 released on 2013/12/26 (compatible with Mac OS X 10.6 and later), but more recent versions can be compiled and MacPorts supplies version 17.12.

History

edit

After releasing two release candidate versions, 1.0rc1 on July 25, 2005 and 1.0rc2 on October 25, 2005, instead of making a final release, the project developers started adding many new features, with the final release being repeatedly postponed. Instead, there were nightly builds of the latest SVN version made available on a daily basis.[citation needed]

The first stable release was on February 28, 2008, with the version number changed to 8.02. The versioning scheme was changed to that of Ubuntu, with the major and minor number representing the year and month of the release. Version 25.03 is the latest stable release; however for the most up-to-date version the user can download the relatively stable nightly build or download the source code from SVN.

Jennic Limited prior to its closure distributed a version of Code::Blocks customized to work with its microcontrollers.[6]

Features

edit

Code::Blocks supports multiple compilers, including GCC, MinGW, Mingw-w64, Digital Mars, Microsoft Visual C++, Borland C++, LLVM Clang, Watcom, and LCC.

Debugger

edit

The Code::Blocks debugger has full breakpoint support. It also allows the user to debug their program by having access to the local function symbol and argument display, user-defined watches, call stack, disassembly, custom memory dump, thread switching, CPU registers and GNU Debugger Interface.

GUI designer

edit

As of version 13.12 Code::Blocks comes with a GUI designer called wxSmith. It is a derivative port of wxWidgets version 2.9.4.[7] To make a complete wxWidgets application, the appropriate wxWidgets SDK must be installed.

User migration

edit

Some of Code::Blocks features are targeted at users migrating from other IDE's - these include Dev-C++, Microsoft Visual C++ project import (MSVC 7 & 10), and Dev-C++ Devpak support.

Project files and build system

edit

Code::Blocks uses a custom build system, which stores its information in XML-based project files. It can optionally use external makefiles, which simplifies interfacing with projects using the GNU or qmake build systems.

See also

edit

References

edit
  1. ^ "Code::Blocks 25.03 is here!". 31 March 2025. Retrieved 4 July 2025.
  2. ^ "License". Retrieved 2014-07-21.
  3. ^ Code::Blocks in FreeBSD's ports collection
  4. ^ "Code::Blocks in OpenBSD's ports collection". Archived from the original on 2022-07-27. Retrieved 2014-02-07.
  5. ^ Directions to install Code::Blocks from source on Solaris
  6. ^ "JN-UG-3028 Code::Blocks IDE User Guide". Archived from the original on 2017-06-05. Retrieved 2008-05-28.
  7. ^ CodeBlocks 13.12 Changelog
edit

๐Ÿ“š Artikel Terkait di Wikipedia

Dev-C++

"WineHQ - Dev-C++ 5.x". "Difference between Turbo C++ and Dev C++". 22 August 2020. "Pros and cons: Dev C++ vs. CodeBlocks vs. Others". 16 January 2017.

Comparison of integrated development environments

plug-in (included in distribution, requires SDK) "Version 25.03". www.codeblocks.org. Retrieved October 8, 2025. Using the wxCrafter plug-in (included

Tinkercad

Micro:bit boards, or ATtiny chips. Code can be created using graphical CodeBlocks, pieces of code that can be easily arranged with the mouse, or text-based

Code completion

JetBrains Blog. 28 May 2021. Retrieved 17 November 2023. FAQ - CodeBlocks. Wiki.codeblocks.org (2014-02-01). Retrieved on 2014-04-04. Qt Documentation -

Harbour (programming language)

arrays, and Hashes. Codeblocks may have references to Variables of the Procedure/Function>method in which it was defined. Such Codeblocks may be returned

JUCE

projects, Visual Studio projects, Linux Makefiles, Android Ant builds and CodeBlocks projects. As well as providing a way to manage a project's files and settings

List of unit testing frameworks

C++, VC++, MinGW, QtSDK and can create test projects for VisualStudio, CodeBlocks, Eclipse, KDevelop ShortCUT No Yes STRIDE Proprietary Yes Yes Yes No Yes

C Sharp syntax

contain only types that can be pointed) in unsafe context: methods and codeblock marked unsafe. These are syntactically the same as pointers in C and C++