Re: [Dev-C++] Program wait from 25 to 40 min. How to ?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Per W. <pw...@ia...> - 2002-10-25 12:50:37
|
Milli is 1/1000, which is the standard quotient in the metric system. /Per W On Fri, 25 Oct 2002, Abhijit Shylanath wrote: > Greets, Wendel. > > > Hi, > > > > I'm trying do my program sleep from 25 to 40 min. I tryed use the funcion > > sleep() but i can't do it. :/ > > > > Someone know how to do it ?? Can gave-me a example ?? > > use Sleep(), declared in <windows.h> > > void Sleep(DWORD milli_seconds); > > milli_seconds can be INFINITE, or zero, which is used when multi-threading. > > So for 25 minutes, it would be 25*60*100 (100 ms is one second, right?). > > Sleep(150000); > > ___________________________________________________________ > > Abhijit Shylanath > > E-mail: mu...@gm... || ibr...@bi... > Web-site: http://mudeth.tripod.com/ > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |