is there a wait command? im trying to work on a game but it goes too fast i would like it to wait 3-4 seconds before executing code
Printable View
is there a wait command? im trying to work on a game but it goes too fast i would like it to wait 3-4 seconds before executing code
There's the sleep functon...
include windows.h and call
Sleep(1000);
You pass the amount of miliseconds you want to pause the thread....so in the above I pause it for 1 second
thx gonna test it now