Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) Hello World

 

Hello World (or 'The Hello World program') is a standard example program to see if your programming environment works. Note that this example code is not standarized, so multiple and similar variants are on the Internet.

 

The code base of Hello World is:

 

#include <iostream>

int main()
{
  std::cout << "Hello World\n";
}

 

Here are some detailed examples of Hello World, depending on IDE and operating system:

 

 

More demanding examples are:

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict