V
Vasileios Zografos
Hi, I am trying to output some numbers on the console (command prompt)
using the std::cout command.
If I do the following:
for (int i=1;i<=10;i++)
std::cout<<i;
the output will be:
1 2 3 4 .... etc etc
is there a way to get the characters overwritten? For example, output:
1 then 2 then 3....etc etc so only one number at a time (something
like a countdown)
Thank you
V.Z.
using the std::cout command.
If I do the following:
for (int i=1;i<=10;i++)
std::cout<<i;
the output will be:
1 2 3 4 .... etc etc
is there a way to get the characters overwritten? For example, output:
1 then 2 then 3....etc etc so only one number at a time (something
like a countdown)
Thank you
V.Z.