www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/21/15:16:54

From: "Paul Bibbings" <Paul DOT Bibbings AT tesco DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: clearscreen
Date: Tue, 21 Dec 1999 18:02:10 -0000
Organization: Tesco ISP
Lines: 15
Message-ID: <83oimu$3mt$1@epos.tesco.net>
References: <385FB265 DOT 57DD AT bresnan DOT net>
NNTP-Posting-Host: 212.140.74.202
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

You don't say whether your are wanting this for C or C++, but since I only
know the former I can tell you that C uses the function clrscr() (#include
<conio.h>)
    Note, however, that this is not part of the ANSI standard and hence is
not portable.

Hope this helps,
Paul

Ben McKnight <bmcknight AT bresnan DOT net> wrote in message
news:385FB265 DOT 57DD AT bresnan DOT net...
> I am running djgpp under win95 and I was wondering if anybody knew of a
> command to clear the screen. e.g. in basic it is CLS


- Raw text -


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