www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/19/14:50:45

Xref: news2.mv.net comp.os.msdos.djgpp:2867
From: coleman AT rocket DOT cc DOT umr DOT edu (Aaron R Coleman )
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Enum Definitions
Date: 17 Apr 1996 20:13:07 GMT
Organization: UMR Missouri's Technological University
Lines: 14
Message-ID: <4l3jcj$f3a@hptemp1.cc.umr.edu>
References: <199604170737 DOT JAA06152 AT gilberto DOT physik DOT rwth-aachen DOT de>
NNTP-Posting-Host: rocket.cc.umr.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

: > 
: > typedef unsigned char bool;
: > #if !defined(TRUE)
: > #define TRUE 1
: > #endif
: > #if !defined(FALSE)
: > #define FALSE 0
: > #endif

Personally, I like 
#define TRUE (1==1)
#define FALSE !TRUE
;)

- Raw text -


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