Re: Fundamental question
From: Keith Thompson (kst-u_at_mib.org)
Date: 06/05/04
- Next message: Ross Kendall Axe: "Re: Clearing Console Window"
- Previous message: Régis Troadec: "Re: syscalls.h or equivalent in cygwin or Linux"
- In reply to: Guillaume: "Re: Fundamental question"
- Next in thread: Chris Dollin: "Re: Fundamental question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 05 Jun 2004 21:37:26 GMT
Guillaume <grsNOSPAM@NO-SPAMmail.com> writes:
> >>Binary logic operators have the same priority, as far as I know.
> > [...]
> > You're mistaken. Please consult a book or other reference before
>
> Thanks. I don't need to, though. I've been using C for more than 10
> years in professional settings. ;-)
Then why do you still seem to believe that "[b]inary logic operators
have the same priority"? You can quibble about the distinction
between "priority" and "precedence" (though if you meant to make such
a distinction you should have made it clear in the first place).
The || and && operators have different precedence in C. Any statement
to the contrary is simply incorrect. Any C programmer needs to know
this, or at least needs to be recognize the need to look it up when
necessary.
[...]
> The aforementioned expression was deterministic, but highly
> unreadable. This is the point I was making.
That was one of the points you made, and I (mostly) agree with it.
-- Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst> San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst> We must do something. This is something. Therefore, we must do this.
- Next message: Ross Kendall Axe: "Re: Clearing Console Window"
- Previous message: Régis Troadec: "Re: syscalls.h or equivalent in cygwin or Linux"
- In reply to: Guillaume: "Re: Fundamental question"
- Next in thread: Chris Dollin: "Re: Fundamental question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|