Guest User

Untitled

a guest
Jan 17th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #include "stdafx.h"
  2. #include <iostream>
  3. #include <chrono>
  4. #include <thread>
  5.  
  6. int main()
  7. {
  8. while (true) {
  9. std::cout << "sleeping for 500ms" << std::endl;
  10. std::this_thread::sleep_for(std::chrono::milliseconds(500));
  11. }
  12.  
  13. return 0;
  14. }
Add Comment
Please, Sign In to add comment