CMD screen upade

Hello everybody! I am writing in C++ 2 months and I don't know, how to make, that cmd upade his creen.

for example if I want to make a game (like tennis) in cmd.
How can I doit, that racket is mowing in a same map?

(map:
__ rocket



o (BALL)

__ (rocket)
)

i DON'T KNOW HOW TO DO IT.. I will write that tetris game with:
stc::cout << "__ \n";
stc::cout << " \n";
stc::cout << "o \n";
stc::cout << " \n";
stc::cout << "__ \n";
gitch()

and 222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 lines of this.
WHAT MUST I DO, THAT THIS WHAT i WONT WILL WORK?[/b]
Last edited on
Topic archived. No new replies allowed.