S
Shuo Xiang
Greetings:
I'm working on some graphical game and need to animate certain things (by
continuously changing the x/y coordinate and update the display), however,
the system is blinkingly fast so no actual animations can be seen.
Therefore I need a "delay" function. Is there a "delay" function in C++
that accepts a time argument in seconds or its varieties (i.e. so that I
don't have to resort to the "big for loop" scheme).
Regards,
Shuo Xiang
I'm working on some graphical game and need to animate certain things (by
continuously changing the x/y coordinate and update the display), however,
the system is blinkingly fast so no actual animations can be seen.
Therefore I need a "delay" function. Is there a "delay" function in C++
that accepts a time argument in seconds or its varieties (i.e. so that I
don't have to resort to the "big for loop" scheme).
Regards,
Shuo Xiang