delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/10/19/06:19:00

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.lang.c++,comp.os.msdos.djgpp
Subject: Re: Troll (was Re: Making C++ little easier to beginners...)
Date: 19 Oct 2001 10:05:52 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 32
Message-ID: <9qotu0$am4$1@nets3.rz.RWTH-Aachen.DE>
References: <9qmkrh$581$1 AT tron DOT sci DOT fi> <Xns913E6449296FFASINANUNUR AT 132 DOT 236 DOT 56 DOT 8> <9qntqe$kd8$1 AT tron DOT sci DOT fi>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
Mime-Version: 1.0
X-Trace: nets3.rz.RWTH-Aachen.DE 1003485952 10948 137.226.32.75 (19 Oct 2001 10:05:52 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 19 Oct 2001 10:05:52 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019