Your first C++14 Program - C++ Language Basics

C++ examples for Language Basics:Hello World

Description

Your first C++14 Program

Demo Code

#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
}

Result


Related Tutorials