C++ is a powerful, high-performance, object-oriented programming language widely used in system/software development, games, and applications that demand speed and control over hardware resources.
To run C++ programs, you need a compiler:
xcode-select --install
sudo apt install g++
g++ --version
.cpp
extension. Compile them with g++ filename.cpp -o program
and run with ./program
.