Run C++ Program In Arduino IDE

Yes, the Arduino IDE compiles C++ code. In fact a lot of the libraries use C++ classes.