Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!nrl-cmf!ames!oliveb!pyramid!prls!philabs!ttidca!svirsky From: svirsky@ttidca.TTI.COM (Bill Svirsky) Newsgroups: comp.lang.c Subject: Re: What is wrong? Message-ID: <3771@ttidca.TTI.COM> Date: 27 Jan 89 01:51:02 GMT References: <2051@ndsuvax.UUCP> <3756@ttidca.TTI.COM> Reply-To: svirsky@tab.tti.com (William Svirsky) Distribution: na Organization: Citicorp/TTI, Santa Monica Lines: 14 In article <3756@ttidca.TTI.COM> svirsky@tab.tti.com (I) wrote: [program, using putc and getc correctly, deleted] >A couple of problems. putc and getc should be fputc and fgetc >respectively. I imagine you copied those wrong, otherwise I don't see >how your program would have worked at all. Before I get blasted too badly for the above, I have already been shown the error of my ways. I do, in fact, know better. I just wasn't thinking clearly. putc and getc were getting translated somewhere between the screen and my mind into putchar and getchar. -- Bill Svirsky, Citicorp+TTI, 3100 Ocean Park Blvd., Santa Monica, CA 90405 Work phone: 213-450-9111 x2597 svirsky@ttidca.tti.com | ...!{csun,psivax,rdlvax,retix}!ttidca!svirsky