C plus plus Label

"Hello, World!" in C plus plus

How to do "Hello, World!" in C++.

// hello-world.cpp
#include <iostream>

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

About ten years after the birth of the C language, object oriented paradigms were added to form the C++ language. The latest version of the C++ standard is called C++14.

For more "Hello, World!" examples, go to the Hello World category.

Posted by Anders Tornblad on Category Hello World Labels
Tweet this