Hello World! in C++

C++ programmers embrace 'Hello, World!' as a foundational example, like so.

Hello World! in C++
Photo by Roman Synkevych / Unsplash

C++ programmers embrace 'Hello, World!' as a foundational example, like so:

#include <iostream>

int main() {
    std::cout << "Hello, World!" << std::endl;
    return 0;
}