
simple 2D graphics libraries (WinBGIm, GRX) - a simple 2D graph plotting library (koolplot) - conio and conio2 libraries static code checking (cppcheck) and other pre-installed programming tools promotion of contemporary C and C++ programming language standards (C99, C++98) easy access to C/C++ language help (by pressing F1 while cursor is on a keyword, or via the Help menu) Other platforms not supported.ĬodeBlocks-EP is specially configured for learners of C or C++ and teaching institutions with: NOTE: Code::Blocks EDU-Portable is a Windows portable application (NT, XP, Vista, Windows 7). The EDU-Portable configuration of Code::Blocks provides easy, one-click installation as a portable application under Windows. The Code::Blocks EDU-Portable interface, integrated help, tools and default compilation settings are all configured for ease of learning C and C++. Click the OK button to close the Compiler settings window.Code::Blocks is an open source, free, configurable programming environment for C or C++.The C compiler should be either gcc or optionally gcc-8, the C++ compiler should be g++-8 and the Linker for dynamic libs should be g++-8. button(s) which are marked by the mouse cursor in the below screenshot. It has already been selected in the below screenshot. Select Settings -> Compiler -> Global compiler settings (large blue gear icon in the left pane) -> Toolchain executables tab.sudo apt install gcc-8-base # recommended version Optionally install the latest version of gcc too (recommended). Install the latest version of the g++ compiler for C++. The C++ compiler is not configured for any version of g++ in Ubuntu 18.04 by default, so it has to be configured in the Code::Blocks compiler settings.

Your C++ program is not running in Code::Blocks because you do not have a C++ compiler (a version of G++) installed, or if it is installed you have not configured the C++ compiler in the Code::Blocks compiler settings.
