C machine and "=" vs "=="
Ray Dunn
ray at micomvax.UUCP
Wed Feb 17 05:12:36 AEST 1988
In article <1186 at cooper.cooper.EDU> gene at cooper.cooper.EDU (Gene (the Spook)) writes:
>....
> (ptr) p1 = (ptr) p0 + (int) d
>
>Simply, add an integer displacement to a pointer, and you'll get another
>pointer. With a little algebra, solve for 'd'. You'll get.....
Here we have a classic example of the "=" instead of "==" user!!!
"Solve for"?? In an *assignment statement*??
Sorry Gene, this is not meant as an attack on you, only to underscore my
scorn for those who say the "=" vs "==" thing is not a problem!!
Ray Dunn. ..philabs!micomvax!ray
More information about the Comp.lang.c
mailing list