Skip to content

Latest commit

 

History

History
70 lines (45 loc) · 1.7 KB

CppHelloCpp11.md

File metadata and controls

70 lines (45 loc) · 1.7 KB

 

 

 

 

 

 

HelloC++11 is an extension of Hello World. Like Hello World, HelloC++11 is a simple console application. HelloC++11, 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++11 is:

 


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

 

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