Date: Wed, 06 Dec 2000 20:39:43 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Anders Hasselqvist Message-Id: <7263-Wed06Dec2000203942+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 CC: djgpp AT delorie DOT com In-reply-to: <3A2E1DCF.F3E0F7EC@acc.umu.se> (message from Anders Hasselqvist on Wed, 06 Dec 2000 12:06:55 +0100) Subject: Re: conio.h in C++ References: <3A2E1DCF DOT F3E0F7EC AT acc DOT umu DOT se> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Anders Hasselqvist > Newsgroups: comp.os.msdos.djgpp > Date: Wed, 06 Dec 2000 12:06:55 +0100 > > > > > To make the text output look better I want to use clrscr(); from > > > conio.h. It doesn't work! I include conio.h but still > > > clrscr() is reported as undeclared. Why? > > > > Post here the minimal program which exhibits the problem, and someone > > will figure it out. > > I have kind of figured the problem out.. > I made a small test program: > ----------- > #include > #include > > int main(void) { > > cout << "Press Return" << endl; > cin.get(); > clrscr(); > cout << "Screen cleared" << endl; > > return 0; > } > ----------- > > When I compiled from Rhide (as I always do) the problem occured. > Compiling it myself works. I guess rhide somehow > doesn't link with the correct libraries (libc also). I don't think that's the reason. Perhaps RHIDE plays with the user screen in a way that makes clrscr's effect not visible?