Author: Gerd Isenberg
Date: 23:57:52 09/26/03
Go up one level in this thread
On September 27, 2003 at 00:03:31, Johan de Koning wrote: >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. That's actually true for arrays of "bool", e.g. fixed sized 64 ones, called bitboards ;-) > >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. :-) hehe, yes. But it not that simple in a project (C++ Qt-windows/linux clients /Java AppServer), where ten or a few more developers with different skill are working on... Gerd > >... 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.