a wait function?

Started by
0 comments, last by Xabbu 20 years, 1 month ago
In C++ is there a built in function that pauses the program for a certain amount of time?
"He had surived everything, developing a faciltiy that was the envy of players every where on the net. He was the most famous character in the Middle country game,recruited for every battle..first choice for every important task"
Advertisement
Not a standard function.
Try Sleep() (win32) or sleep() (POSIX).
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan

This topic is closed to new replies.

Advertisement