delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/02/10/18:37:20

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Reply-To: <Netzmeister AT MartinHenne DOT de>
From: "Martin Henne" <Netzmeister AT MartinHenne DOT de>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: How to clear the console screen? (C/C++)
Date: Fri, 11 Feb 2000 00:42:48 +0100
Message-ID: <NDBBIPGGDCHGPABJCBAJOEEBCAAA.Netzmeister@MartinHenne.de>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Importance: Normal

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 DOT Henne AT web DOT de
http://www.MartinHenne.de




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019