Flashing the output to the screen for a limited time

hi you all..

i want to flash the output message to the screen for a limited time.
can you plz help me ?

is there something in iomanip or somewhere else, or should i do something with system("pause") and system("clear").. although the latest dont seem to me like a good solution, e.g.
1
2
3
4
5
6
7
	  for (int n=0; n<10; n++) {
	    cout << n << endl;
	    system("pause");
	    system("pause");
	    system("pause");
	    system("clear");
	  }

thanks in advance
Last edited on
Take a look through <ctime>
http://www.cplusplus.com/reference/clibrary/ctime/

Hope this helps.

[edit] BTW. Please don't use system("WHATEVER").
Last edited on
Topic archived. No new replies allowed.