Guest User

Untitled

a guest
Jul 21st, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. if (this)
  2. that = Clock();
  3.  
  4. #include <iostream>
  5. #include <chrono>
  6.  
  7. using namespace std::chrono;
  8. int main() {
  9. auto start = system_clock::now();
  10. while (duration_cast<seconds>(system_clock::now() - start).count() < 5)
  11. ;
  12. // It is now 5 seconds later.
  13. }
Add Comment
Please, Sign In to add comment