File: sleep.cpp

package info (click to toggle)
yrmcds 1.0.4-6
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 924 kB
  • ctags: 1,346
  • sloc: cpp: 9,634; sh: 133; makefile: 97
file content (10 lines) | stat: -rw-r--r-- 218 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#include <chrono>
#include <thread>
#include <iostream>

int main() {
    std::cerr << "Hello ";
    std::this_thread::sleep_for(std::chrono::milliseconds(300));
    std::cerr << "World!" << std::endl;
    return 0;
}