It doesn't count seconds, it counts milliseconds (?). 1000 = 1 second :)
*Jemini* ~Jay~
----- Original Message -----
From: <JM...@ed...>
To: <dev...@li...>
Sent: Wednesday, October 04, 2000 5:10 AM
Subject: [Dev-C++] Sleep function not working properly
Hello,
I have just started using Dev-C++ and notice that when I call the sleep
function
in my programs, it does not halt execution for the given amount of seconds.
I have experimented with very large timeframes (eg. 2000 seconds) and sleep
starts to work. But 2000 seconds causes a wait of about 2 seconds.
I am doing DOS console programs in C and then running them under Windows 95.
Any ideas?
Thanks
Jonathan
_______________________________________________
Dev-cpp-users mailing list
Dev...@li...
http://lists.sourceforge.net/mailman/listinfo/dev-cpp-users
|