From: Anders Hasselqvist Newsgroups: comp.os.msdos.djgpp Subject: Re: conio.h in C++ Date: Wed, 06 Dec 2000 12:06:55 +0100 Organization: UMDAC/NorrNod, UmU Lines: 40 Message-ID: <3A2E1DCF.F3E0F7EC@acc.umu.se> References: NNTP-Posting-Host: nntp.umu.se Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: hudsucker.umdac.umu.se 976100857 12052 130.239.8.28 (6 Dec 2000 11:07:37 GMT) X-Complaints-To: abuse AT umu DOT se NNTP-Posting-Date: 6 Dec 2000 11:07:37 GMT X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en Cache-Post-Path: hudsucker.umdac.umu.se!unknown AT fysgr134 DOT sn DOT umu DOT se X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote: > > On Tue, 5 Dec 2000, Anders Hasselqvist wrote: > > > 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). Thanks a -- Anders Hasselqvist hassel AT acc DOT umu DOT se http://good-deed.dhs.org/ Tel :(+46) 90 195643 Mobile:(+46) 70 5952539 Fax :(+46) 90 2035269