Click to See Complete Forum and Search --> : Using the Sleep() command


pill
12-26-2001, 06:04 PM
how come it doesnt work for me(borland c++):

sleep(10);

is that right?

Danny Kalev
12-27-2001, 06:38 AM
You should notice that there are two sleep functions, one is spelled
with a capital S, Sleep() and the other is with a lowercase s, sleep().
The former takes milliseconds as an argument whereas the latter takes
seconds (I hope I didn't confuse between the two...). Make sure you're
using the correct function of these two.

Danny

pill wrote:
>
> how come it doesnt work for me(borland c++):
>
> sleep(10);
>
> is that right?