C++ Programming Code Examples C++ > Beginners Lab Assignments Code Examples C++ "Hello, World!" Program C++ "Hello, World!" Program A simple C++ program to display "Hello, World!" on the screen. Since, it's a very simple program, it is often used to illustrate the syntax of a programming language. Every C++ program starts from the main() function. The cout is the standard output stream which prints the "Hello, World!" string on the monitor. The return 0; is the Exit status" of the program. #include <iostream> using namespace std; int main() { cout << "Hello, World!"; cout << "Happy Codings - C++ Programming Language Code Examples"; return 0; }