From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: How could I clear screen in C++??? Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 28 X-Trace: /KHlxMXbaGH6R9Uekoaigc7jChcTXMxF8+TAmGQSFw5kPQcgLJKfrDCkdW9Ty40jKYGyWPveySSL!2yA0mSnfgFsfjIE8lOMW1ndHVR4wN1PztTshm4J2RaBbQqexNZWzPlwxklOs72qcmty3Li6mdXB+!+xAlKRg= X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Sun, 16 Apr 2000 19:18:07 GMT Distribution: world Date: Sun, 16 Apr 2000 19:18:08 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Sun, 16 Apr 2000 20:54:44 +0200, "Wie" wrote: >In BASIC you type cls, but what is this in C++??? C++? Can't. The C++ language does not have a concept of "screen." C++ in conio-capable systems (such as DJGPP)? clrscr() #include #include using namespace std; int main(void) { clrscr(); cout << "hello world\n"; return 0; } -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/