Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!wuarchive!udel!haven!adm!husc6!m2c!wpi.WPI.EDU!greyelf From: greyelf@wpi.WPI.EDU (Michael J Pender) Newsgroups: comp.sys.apple2 Subject: HyperC filing question Message-ID: <1990Nov8.045226.7696@wpi.WPI.EDU> Date: 8 Nov 90 04:52:26 GMT Sender: greyelf@wpi.WPI.EDU (Michael J Pender) Organization: Worcester Polytechnic Institute Lines: 31 I'm trying to read and write binary files from Hyper C. Would someone with the documentation please tell me how? This was my closest attempt: #include main() { char *screen; FILE *fp = open("/ram/output.snd","wb"); for(screen = 0x400; screen < 0x8; screen++) fprintf(*fp, "%x", *screen); close(fp); exit(); } Please reply REAL SOON. I need to have these routines working by 11:00 friday... --- Michael J Pender Jr Box 1942 c/o W.P.I. Part of this D- belongs to greyelf@wpi.bitnet 100 Institute Rd. God... greyelf@wpi.wpi.edu Worcester, Ma 01609 - B. Simpson -- --- Michael J Pender Jr Box 1942 c/o W.P.I. Part of this D- belongs to greyelf@wpi.bitnet 100 Institute Rd. God...