-
Delays
Does anyone know how can i delay something in c. I have a program that need to display a accounts, but for security reason i need to clear the screen after 10 sec after the account show up. Os i need some timer control so the screen can clear before the next accout show up.
-
One interesting way to do it is to use select(). I'm sure if you had actually read the FAQ you'd have found information on pausing and screen clearing...
Quzah.
-
#include <dos.h>
sleep(10000);
That should be 10 seconds
-
> Does anyone know how can i delay something in c
Depends on your OS
-
Code:
for(count=0;count<max;) ;
You have to try what value for max makes any sense.
klausi