PDA

View Full Version : Clear Screen


jeff3p
05-23-2003, 10:03 PM
What is a clear screen function compatible with Dev-C++

Nute Gunray
05-29-2003, 09:09 PM
What do you mean by a Clear Screen function? Give me what you wish to accomplish and I will try to help you. :)

jeff3p
05-30-2003, 05:05 PM
Ok after several messages have couted to the screen I have a lot of garbage up there, I know in TRUE BASIC there is a function called "clear" which clears the screen of previous information. I would like to do the same thing in C++ if it is possible.

Is there a function that removes text from the user's screen?

Renae
05-30-2003, 10:25 PM
In Miracle C compiler... clear screen is ClrScr();...

Jason
05-30-2003, 10:58 PM
you could write your own that utilizes a bunch of "/n" and then a wait() so the user has to hit return for the computer to continue...don't know of one per-se though


Jason

jeff3p
05-31-2003, 11:15 PM
Jason's seems to be the most viable, ClrScr() does not work in any compiler ive used

Josh Campbell
06-01-2003, 03:05 AM
I've used system("cls") before. Worked in visual c++ but not in codewarrior, might work in dev-c++