Go back to Richel Bilderbeek's homepage.

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

 

 

 

 

 

(C++) HelloC++0x

 

HelloC++0x is an extension of Hello World. Like Hello World, HelloC++0x is a simple console application. HelloC++0x, however, also requires the C++11 standard to compile.

 

Note that this example code is not standarized, so multiple and similar variants are on the Internet.

 

The code base of HelloC++0x is:

 

#include <iostream>

int main()
{
  const auto s = "Hello C++11";
  std::cout << s << '\n';
}

 

Here are some detailed examples of HelloC++0x, depending on IDE and operating system:

 

 

 

 

 

 

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

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict