I'm writing a casino type program. The welcome is broken down to two lines. I'd like to have the 2nd line take a 2-3 second pause before appearing. Thanks.
I'm writing a casino type program. The welcome is broken down to two lines. I'd like to have the 2nd line take a 2-3 second pause before appearing. Thanks.
Code:#include <windows.h> #include <stdio.h> int main() { printf("Hi"); fflush(stdout); Sleep(3000); // 3 seconds printf("Bye"); return 0; }
Free the weed!! Class B to class C is not good enough!!
And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi