From: Anders Hasselqvist Newsgroups: comp.os.msdos.djgpp Subject: Re: conio.h in C++ Date: Wed, 06 Dec 2000 20:48:15 +0100 Organization: UMDAC/NorrNod, UmU Lines: 23 Message-ID: <3A2E97FF.A360A347@acc.umu.se> References: <3A2E1DCF DOT F3E0F7EC AT acc DOT umu DOT se> <3a2e602b DOT 24409552 AT news DOT freeserve DOT net> 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 976132142 25598 130.239.8.28 (6 Dec 2000 19:49:02 GMT) X-Complaints-To: abuse AT umu DOT se NNTP-Posting-Date: 6 Dec 2000 19:49:02 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 Steamer wrote: > > 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? > > > 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). > > Maybe you have RHIDE set to use the -ansi switch. This would > mean that the compiler never sees the clrscr() declaration. Yes. That is true... I have -ansi as a default switch. Didn't think of that. Thanks for your help. -- Anders Hasselqvist http://good-deed.dhs.org/