www.delorie.com/djgpp/bugs/show.cgi | search |
#include <conio.h> .... sleep(5000); When using sleep() in DJGPP, it will not sleep for the amount of milliseconds. When I use sleep(1), it will sleep endlessly... I've compiled it under Dev C++ and MS VC++ 6, and it works fine, so it seems that sleep() isn't working properly in DJGPP. Any solutions/fixes, > drat911@nwez.com
`sleep' accepts an argument measured in seconds, not in milliseconds. 5000 seconds might indeed look like an eternity... I'm closing this report.
webmaster | delorie software privacy |
Copyright © 2010 by DJ Delorie | Updated Jul 2010 |