Enabling support for C++
In this section:
In the compiler, the default language is C.
Danger
To compile files written in Standard C++, use the ‑‑c++ compiler option. See ‑‑c++.
Caution
To enable C++ in the IDE, choose Project>Options>C/C++ Compiler>Language>Language>C++.