Tuesday, July 28, 2009

How can I clear the screen in Turbo C++??

I already knew the code for clear screen in C, its clrscr(); but I cannot find for C++ HELP

How can I clear the screen in Turbo C++??
clrscr() is not a standard function but Borland add-on.


Declared in conio.h
Reply:Poor baby boo who who
Reply:clrscr(); for text mode


cleardevice(); for graphics mode
Reply:C++ is backward compatible - just use the same function and be certain to include the include file - it should work.


No comments:

Post a Comment