From: "Michael H. Warfield" <mhw@wittsend.com>
To: Gerald Waugh <gwaugh@frontstreetnetworks.com>
Cc: linux-c-programming@vger.kernel.org
Subject: Re: TRUE FALSE
Date: Sat, 22 Jun 2002 22:52:16 -0400 [thread overview]
Message-ID: <20020623025216.GA4974@alcove.wittsend.com> (raw)
In-Reply-To: <200206230221.g5N2L8x28617@fsn3.frontstreetnetworks.com>
On Sat, Jun 22, 2002 at 10:21:16PM -0400, Gerald Waugh wrote:
> Oh, I know this is dumb
> But where is TRUE and FALSE defined
> I tried several 'h' files
> TIA
Man, these things are defined all over the place.
I LOVE this pair though:
mm.h:#define FALSE 0
mm.h:#define TRUE !FALSE
Cool... <mm.h> defines FALSE to be zero and TRUE to be not FALSE.
Someone had a poetic sense in writing it that way...
:-)
Now... As to what include file you should include to get the
definitions (which I'm assuming is what you really wanted to know
rather than what you asked), I don't know. Depends on the application.
It's defined in some X11 header files and some SQL header files. Depends
on what you are doing...
> --
> Gerald Waugh
> http://frontstreetnetworks.com SOHO Networks & Web Site Hosting
> Front Street Networks LLC voice +1 203 785 0699 * fax +1 203 785 1787
> 229 Front Street, Ste. #C, New Haven CT 06513-3203
Mike
--
Michael H. Warfield | (770) 985-6132 | mhw@WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it!
next prev parent reply other threads:[~2002-06-23 2:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-23 2:21 TRUE FALSE Gerald Waugh
2002-06-23 2:52 ` Michael H. Warfield [this message]
2002-06-23 3:02 ` Glynn Clements
2002-06-28 12:20 ` Ducrot Bruno
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020623025216.GA4974@alcove.wittsend.com \
--to=mhw@wittsend.com \
--cc=gwaugh@frontstreetnetworks.com \
--cc=linux-c-programming@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).