Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
105 lines (89 sloc) 6.05 KB

(C++) Hello World

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"; 
}

Advice

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

More demanding examples are:

External links

References

You can’t perform that action at this time.