[Webinar] Streamline your web hosting managementRegister Today

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

Clear Screen

When i want to clear the screen, I use clrscr() in borland C++. But in visual c++ 6.0 the compiler gives me a error.
Can somebody tell me how to clear the screen in visual c++ 6.0?
0
4376
Asked:
4376
1 Solution
 
4376Author Commented:
Adjusted points to 10
0
 
DKostovCommented:
Use

system("cls");

it will work for both borland and msvc.
0

Featured Post

Live webcast with Pinal Dave

Pinal Dave will teach you tricks to help identify the real root cause of database problems rather than red herrings. Attendees will learn scripts that they can use in their environment to immediately figure out their performance Blame Shifters and fix them quickly.

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