To use the language, you have to install its compiler.
• On Ubuntu: you can install G++ ( the GNU c++ compiler). One way to do so, is by installing the build-essential package:
sudo apt update
sudo apt install build-essential
• On Windows 10: it is preferable to install the compiler at the same time as the IDE your are going to use for your coding. You can install the Code::Block IDE.
For that, select the binary that includes the
mingw-setup ( it will include a c++ compiler ). When using the IDE for the first time, a window will pop up asking you to select your compiler. You can then select the first option : the GNU GCC Compiler(
the one that you just installed ).