Teen Programmers Unite  
 

 

Return to forum top

clear screen in c++

Posted by jackal [send private reply] at October 30, 2001, 02:54:09 PM

does anyone knows how to add in clear screen function in a normal c++ program..and also what #include file to use???

Posted by taubz [send private reply] at October 30, 2001, 10:06:51 PM

Wasn't this just asked? I suggested clrscr() which may or may not be from conio.h.

- taubz

Posted by Mizzeri [send private reply] at October 30, 2001, 10:21:13 PM

I use system("cls");
stdlib.h is needed for this method.

Posted by Psion [send private reply] at October 31, 2001, 07:13:36 AM

Mizzeri, that is a very poor and slow way to do it. The best way depends on the platform.

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.