down

Geoffrey Rogers grogers at sushi.uucp
Sat Dec 17 11:52:23 AEST 1988


In article <gables.352 at umigw.miami.edu> slores%gables.span at umigw.miami.edu (Stanislaw L. Olejniczak) writes:
>		chcnt++ += (c == '\n');

The above statement is not legal in C. The reason why it is not legal is
because 'chcnt++' is consider to be a expression and you can not have
a expression of the form "expression asignment_operator expression".

Geoffrey C. Rogers
CONVEX



More information about the Comp.lang.c mailing list