From: Ben M. <ben...@ya...> - 2006-01-05 03:16:00
|
A quick question, by someone very new to c++. I have a for loop I am putting in a project, this is what it looks like. for(i = 10; i != 0; i--) { cout >> i >> endl; } When i comple it, it will just show all the numbers at once. My question is, how do I make the program pause itself, then start itself again, after each number is shown? I want it to be like a count down. Thank you very much. --------------------------------- Yahoo! DSL Something to write home about. Just $16.99/mo. or less |