Skip to content

Latest commit

 

History

History
104 lines (89 loc) · 6.05 KB

CppHelloWorld.md

File metadata and controls

104 lines (89 loc) · 6.05 KB

The Hello World program is a minimal example of a working program. By tradition, this minimal example displays a text similar to 'hello world'. Goal of such a program is to see if the 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:

External links

References