Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site birtch.UUCP Path: utzoo!decvax!decwrl!pyramid!hplabs!oliveb!felix!birtch!ken From: ken@birtch.UUCP (Ken B) Newsgroups: net.lang.c,net.micro.att Subject: Re: Why doesn't this work? (3B2 problem) Message-ID: <277@birtch.UUCP> Date: Mon, 24-Mar-86 10:59:26 EST Article-I.D.: birtch.277 Posted: Mon Mar 24 10:59:26 1986 Date-Received: Wed, 26-Mar-86 19:42:50 EST References: <276@birtch.UUCP> Distribution: na Organization: Birtcher, Santa Ana, Calif. Lines: 19 Xref: decwrl net.lang.c:8108 net.micro.att:1072 Thank you to all of you that supplied me with the help (to my problem on the 3b2 not EOF-ing) 99% said the problem was the variable 'c' was defined as a 'char' and it should have been an 'int'. I changed it so, and it worked. Also, thanks to some of you for pointing out that the final 'putchar (EOF)' is not needed, and in fact, is not at all what I should have done. (it introduces one more character to the file that ought not to be there) Again, many thanks, Ken Brown -- uucp: ...{!glacier!oliveb,!ihnp4!trwrb} !felix!birtch!ken These ramblings are my own, and are surely not those of my employer.