how to make a quit statement?
i mean how to quit the program in few seconds?? is it about using the sleep?? please give me an answer... appreciate your answer!
yes,
Sleep(x); // note: this is capital 'S'
where x is how long in milleseconds ( 1000milleseconds == 1second )
ex:
1 2
|
Sleep (1000); // wait for 1 second
return 0; // end program
|
you need to
#include <windows.h>
oh i see! thank you. i was still cracking my head about the library. :)))
Topic archived. No new replies allowed.