down

Andrew Koenig ark at alice.UUCP
Tue Dec 13 06:42:07 AEST 1988


In article <349 at greens.UUCP>, matthew at sunpix.UUCP ( Sun NCAA) writes:

> (Before closing, there is one logic flaw in your scrap of code. '(c == '\n')'
> does not have to evaluate to an integer 1. It must only be a non-zero value if
> true.)

Nope.  The value of (c == '\n') must be 1 or 0.
-- 
				--Andrew Koenig
				  ark at europa.att.com



More information about the Comp.lang.c mailing list