Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 212
  • Last Modified:

Clearing the screen

I would like to know if there is a function or standard method of clearing the contents of the screen in a C++ program
0
Paul10
Asked:
Paul10
1 Solution
 
warmcatCommented:
This isn't really a C++ issue; it makes no assumptions about the size, number or kind of display the program has.  However, most character-based displays will interpret

printf("%c", 12);

as a request to clear the display.
0
 
kraphicsCommented:
printf("%c", 12);

did not work for me in MSVC 5.0

Kraphics
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now