Mail Archives: djgpp/2001/10/19/06:19:00
In comp.os.msdos.djgpp Traveler <traveler AT netti DOT fi> wrote:
> Yes, your right ! I shouldn´t use C. I use C++ instead :)
Which doesn't change the issue in the slightest way --- C++ is exactly
the same as C, in this regard.
>> the point is, if you want a logical operation, use the logical operator.
>> OTOH, if you want a bitwise operation, use the bitwise operator.
> Also the point is that anybody whit the knowledge of Boolean algebra
> knows that there really is no separate things like "bit" and
> "logical" AND or "bit" and "logical" OR.
Boolean algebra books know *nothing* about real-world programming
languages. In particular, they know nothing about variables with more
than a single bit in them, and that's why the need for the distinction
between && and & doesn't arise for them.
> Case is close...
If any thing is closed, that would be your view of the world,
shielding you from the apparently shocking perspective of learning
something new, once in a while.
Go away, troll.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -