For delay
delay()
what's the syntax and which header file/files do i need for 5 seconds delay.
it doesn't seem to work
Printable View
For delay
delay()
what's the syntax and which header file/files do i need for 5 seconds delay.
it doesn't seem to work
dos.h
Syntax as far as I know is
delay(long);
yeah, dos.h is the one
the syntax for 5 sec delay is
delay(5000);
you could also use the sleep command also in dos.h
the syntax id
sleep(5);
howdy,
i don't have <dos.h> in my g++ lib. and when i move it from borland g++ it won't work. is there a *nix comparable file or function?
M.R.