From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: Binary Files Organization: Pin Eight Software Message-ID: References: <38808ACC DOT 6C76D41C AT wt DOT net> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 14 X-Trace: /w5MH+qJ31Y1gLosTEVgLQJX9EWzxS967bZS5jDlpGhgcI8cJCMEzoHaTnixHHMGSpfrSfpJoBFR!sVIJjO9l9jTPYPfJHNrbS6GThoFjQrxEStJQSAyZaPWxjydc7BGZA8xuWXaZwKrcbTNNTvsUXg== X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Sat, 15 Jan 2000 19:23:11 GMT Distribution: world Date: Sat, 15 Jan 2000 19:23:11 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Aaron Chernosky wrote in message <38808ACC DOT 6C76D41C AT wt DOT net>... >Does the function getc(FILE *f) work with binary files, mainly in that >it doesn't screw up the data when u read it in? If you open the file in binary ("rb") mode, the system works with raw bytes instead of characters. getc() should work in that case. -- Damian Yerrick http://yerricde.tripod.com/ View full sig at http://www.rose-hulman.edu/~yerricde/sig.html Comment on story ideas at http://home1.gte.net/frodo/quickjot.html And yes, I have set my attribute line to emulate Outhouse Express.