Re: [Dev-C++] sleep() in unistd.h ??
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <we...@ha...> - 2002-12-13 13:19:10
|
Hi all,
Thkz for help. :))
Now i'm using the correct header windows.h but count different from sleep()
of linux. In linux it count in seconds... :)
And here ?? I done a sample example:
#include <stdio.h>
#include <windows.h>
int main(){
Sleep(46000);
return(0);
}
And it ruuning more or less 45 seconds... i tryed change this values to
42000, 43000, ... and it appear running always near 45 seconds.... :/
How to count for example 1 minute with this sleep() function ??
And 15 minutes ??
Is it precision ??
Thkz a lot.
Best Regards.
[ ]'s
|