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