+ 1
Timer
Hello please tell me how between two "cout" to make a break 3 seconds. C ++
2 ответов
- 1
#include <windows.h>
...
cout <<...
Sleep(3000);
cout <<...
Inside Sleep(...) you put time value in miliseconds
EDIT:
Don't know why, but sometimes it works wrong, so you have to use a loop with Sleep(1) that works 3000 times
+ 1
thanks