clearing screen issue

Hello Experts,

I am new to C++. I was using clrscr() in one of my program and the compiler reported error that clrscr undefined. I have used the header conio.h also.

I want to know if clrscr() (for clearing screen) doesn't work in C++.?

Thanks in advance,
Abhishek
I found one interesting function for the same:

system("cls");

stdlib.h should be included in library.


Thanks and regards,
abhishek
Topic archived. No new replies allowed.