Hello, I've been looking arround the internet, and I found the command
wait(15); to wait for 15 secons.
I used the header
#include <time.h> and I got an error.
Can someone please help me and tell me what I've been doing wrong?
If ur on windows, use [I]Sleep[/I](milliseconds) located on windows.h. If ur on linux use [I]sleep[/I](seconds) located on unistd.h Read More
I think wait() is an old Turbo C function. Read More
Standards use the sleep(seconds) function, not wait. Read More
No you haven't. Windows uses Sleep() not sleep() (capital S). Also, *nix sleep() parameter is in seconds -- MS-Windows Sleep() parameter is milliseconds. Read More
Edited by TailsTheFox: n/a