Date: Sun, 30 May 1999 15:49:32 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Kieran Farrell cc: djgpp AT delorie DOT com Subject: Re: C amateur want to know how to clear a text screen. In-Reply-To: <3750a551.95097825@news.pasteur.dialix.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 30 May 1999, Kieran Farrell wrote: > system( "cls" ); Beware: system() calls the shell for such commands, and unless your shell is the stock COMMAND.COM, the above will produce little more than an error message. Depending upon the shell is hardly a portable way of doing things. People who need to write portable programs that clear the screen, should probably opt for a portable package such as Curses, but even that will not always be available with some (most?) Windows compilers.