C++ builds on C with object-oriented and generic programming features. It is widely used for high-performance applications, game engines, and systems software.
#include <iostream>
int main() {
std::cout << "Hello, World!" << std::endl;
return 0;
}
Run:
g++ hello.cpp -o hello
./hello