www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/04/18/05:00:32

From: Nate Eldredge <neldredge AT hmc DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: bool type
Date: 18 Apr 2001 01:45:31 -0700
Organization: InterWorld Communications
Lines: 20
Sender: nate AT mercury DOT st DOT hmc DOT edu
Message-ID: <83g0f6d2ac.fsf@mercury.st.hmc.edu>
References: <20010418005914 DOT 7485 DOT qmail AT web13308 DOT mail DOT yahoo DOT com> <3add4e25 DOT 65909932 AT news DOT dingoblue DOT net DOT au>
NNTP-Posting-Host: mercury.st.hmc.edu
Mime-Version: 1.0
X-Trace: nntp1.interworld.net 987583531 3965 134.173.57.219 (18 Apr 2001 08:45:31 GMT)
X-Complaints-To: usenet AT news DOT interworld DOT net
NNTP-Posting-Date: Wed, 18 Apr 2001 08:45:31 +0000 (UTC)
User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.5
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

gehok55 AT hotmail DOT com (Josh) writes:

> i dont seem to have a bool.h in any of my djgpp directories :|
> i added this 
> 
> typedef int bool;
> #undef TRUE
> #define TRUE 1
> #undef FALSE
> #define FALSE 0
> 
> which fixes the problem (temporarily) .. but im a little worried. isnt
> C meant to have a bool type?

No.  But C++ does; is that what you're thinking of?

-- 

Nate Eldredge
neldredge AT hmc DOT edu

- Raw text -


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