Advertisement
Guest User

Untitled

a guest
Nov 24th, 2014
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.14 KB | None | 0 0
  1. time_t start_time, cur_time;
  2.  
  3.     time(&start_time);
  4.     do
  5.     {
  6.         time(&cur_time);
  7.     }
  8.     while((cur_time - start_time) < 2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement