Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!nrl-cmf!ukma!rutgers!att!ulysses!andante!alice!ark From: ark@alice.UUCP (Andrew Koenig) Newsgroups: comp.lang.c Subject: Re: down Message-ID: <8528@alice.UUCP> Date: 12 Dec 88 20:42:07 GMT References: <349@greens.UUCP> Organization: AT&T Bell Laboratories, Liberty Corner NJ Lines: 9 In article <349@greens.UUCP>, matthew@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@europa.att.com