This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]