Sleep(4000) Show . for each 1000 (C++) -


Note that I'm starting a new one.

What I'm trying to do. "For every 1000 seconds in the timer, I'm going to appear next to". "After the COAT.

  #include & Lt; iostream & gt; #include & lt; windows.h & gt; using namespace std; int main () {char uname; four words; cout & lt; & lt; "start ekg"; sleep (4000) ); / * Sleep (1000) for cout & lt; & lt; "." While sleeping (1000 * 2)  

You can use a simple loop to do this.

 for  (int i = 0; i <4; i ++) {Sleep (1000); Cout  

Comments