How to make the text clear out every time another thing happens

Hey Guys

As some of you know I am a complete noob but am jumping right into things like an idiot

I was just wondering every time text comes up on my console it just sits there and annoys the f*** out of me!

My game is a text rpg (basically it describes the environment in text form and you have options in which you input a number to select) but every time I input a number and the next scenario appears the previous text still stays on the screen! Is there any way to stop this from happening?!

THanks
use this ... if ur using Visual stdio



system("cls");



if ur in Using turbo compiler
then


clrscr();
Last edited on
Here are some more appropriate ways of clearing the screen:
http://www.cplusplus.com/articles/4z18T05o/

Personally, I use an OS specific way, the Windows API.
Topic archived. No new replies allowed.