(C++) HelloC++11
January 9, 2018 · View on GitHub
(C++) HelloC++11
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:




'HelloC++11' using Qt Creator
under Cygwin



'HelloC++11' using Qt Creator
under Lubuntu



'HelloC++11' using Qt Creator under Lubuntu, crosscompile to
Windows