Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!mcgill-vision!snorkelwacker!mit-eddie!wuarchive!udel!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.sys.apple2 Subject: Re: Hyper C Prodos Message-ID: <14197@smoke.BRL.MIL> Date: 19 Oct 90 15:23:55 GMT References: <1990Oct19.123757.25718@wpi.WPI.EDU> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 11 In article <1990Oct19.123757.25718@wpi.WPI.EDU> greyelf@wpi.WPI.EDU (Michael J Pender) writes: >Can anyone tell me why this won't print a file to my printer? >#include > char c; > while ((c=getc(fp)) != -1) While I don't know about Hyper C, in standard C the three lines above would have been written #include int c; while ((c = getc(fp)) != EOF)