POV-Ray : Newsgroups : povray.off-topic : Random C craziness : Re: Random C craziness Server Time
7 Sep 2024 11:23:41 EDT (-0400)
  Re: Random C craziness  
From: andrel
Date: 28 Jul 2008 16:21:44
Message: <488E2A94.3030104@hotmail.com>
On 26-Jul-08 21:39, John VanSickle wrote:
> Chris Cason wrote:
> 
>> In the real world, no programmer would ever do something
>> that mean with a macro called TRUE. Right? :-)
> 
> There was an entry over at the Daily WTF in which someone posted code, 
> written by another person, containing this:
> 
> #define TRUE 0
> #define FALSE 1
> 
> I swear that I am not making this up.

Probably Unix convention?

http://en.wikipedia.org/wiki/True_(Unix)
http://en.wikipedia.org/wiki/False_(Unix)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.