Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int i = 1;
- while(!kbhit()){
- int current;
- while(1){
- if (current = clock()/i> 5000){
- printf("%d\n",i++);
- current = 0;
- break;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement