Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: bool versus BOOL in C++

Author: Johan de Koning

Date: 21:03:31 09/26/03

Go up one level in this thread


On September 26, 2003 at 06:50:59, Gerd Isenberg wrote:

>Hi All,
>
>in C++ we have the boolean type "bool" with the value range true/false.
>I'm not sure about ANSI-C.

The only valid bool would be a strictly 1-bit strictly logical piece of data.
Hence there is no use for bool in C until sizeof(bool) returns 0.125.

So my advice is to please yourself and your colleages by disputing what's north
of the north pole, or what's older then the big bang, or which programming
languages produce correct boolshit code and aren't used for some reason.

Life can be simple. :-)

... Johan



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.