delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/06/15:41:54

From: Anders Hasselqvist <hassel AT acc DOT umu DOT se>
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: <Pine DOT SUN DOT 3 DOT 91 DOT 1001206093751 DOT 10098B-100000 AT is> <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
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019