How to clear the console screen? (C/C++)

Martin Henne Netzmeister@MartinHenne.de
Thu Feb 10 15:43:00 GMT 2000


A fundamental problem for me in C++ :
How to clear the ANSI-Screen in the
Konsole?

Both tries

	system("clear"); and
	cout << "\x1b[2J"; 

doesn't work and I still don't find any
Information how to clear the screen and
put the curser to the upper left corner.

Is there anyone who can help me with this?


Martin Henne
Aachen, Germany

mailto:Martin.Henne@web.de
http://www.MartinHenne.de




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list