From: "Hackrus" References: <#ncDhZDq$GA DOT 261 AT net003s> <8desjg$iai$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> Subject: Re: How could I clear screen in C++??? Date: Tue, 18 Apr 2000 08:05:10 +0200 Lines: 50 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Message-ID: Newsgroups: comp.os.msdos.djgpp NNTP-Posting-Host: ipc379bd73.dial.wxs.nl 195.121.189.115 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I have found a way of doing this. If you put: int i; for (i=0;i<50;i++) cout << "\n" << endl; on the top of the text where the screen should be deleted, en put this: int i; for (i=0;i schreef in berichtnieuws OeGJIhIq$GA DOT 202 AT net025s... > I just give me an error message. The errormessage is: parse before '}'. > That's it. But is the message above is also a way of doing this. This one > works, but it goes to the bottom of the screen, and it's NOT on the top of > the screen. > Hans-Bernhard Broeker schreef in > berichtnieuws 8desjg$iai$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE... > > Hackrus wrote: > > [...] > > > But, the function int clrscr() won't work. I really need a function > > > that will clear my screen!! > > [...] > > > > "Won't work" doesn't tell us a thing about your actual problem. Show > > us *how* it refused to work. Error message, crash dump, whatever. A > > small compilable example we could try on our own machines would be > > even better... > > > > > > -- > > Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) > > Even if all the snow were burnt, ashes would remain. > >