C++ examples for Language Basics:Hello World
Your first C++14 Program
#include <iostream> #include <string> int main(void) { using namespace std::string_literals; auto output = "Hello World!"s; std::cout << output << std::endl; return 0;// w ww. jav a 2 s .c o m }