Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ hello world

#include <iostream>
#include <chrono>
#include <thread>

using namespace std::this_thread;     // sleep_for, sleep_until
using namespace std::chrono_literals; // ns, us, ms, s, h, etc.
using std::chrono::system_clock;


int main()
{
  	std::cout << "Hello World!" << std::endl;
    sleep_for(5s);
    return 0;
}
Source by www.facebook.com #
 
PREVIOUS NEXT
Tagged: #world
ADD COMMENT
Topic
Name
4+1 =