[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Use true/false or TRUE/FALSE in KDE C++ programs?
From: André_Wöbbeking <Woebbeking () onlinehome ! de>
Date: 2005-05-29 14:48:39
Message-ID: 200505291648.39757.Woebbeking () onlinehome ! de
[Download RAW message or body]
On Sunday 29 May 2005 15:36, Richard Dale wrote:
> I hate code which type puns ints into booleans such as:
>
> if !strcmp("mything", "myotherthing') {
> ..other difficult to read crap code
> }
this is a bad example as strcmp() returns a tristate: less, equal or
greater but I know what you mean.
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic