Message-ID: <3880A8CD.97FD4201@wt.net> Date: Sat, 15 Jan 2000 11:05:17 -0600 From: Aaron Chernosky X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,pdf MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Binary Files References: <38808ACC DOT 6C76D41C AT wt DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 216-119-163-247.ipset45.wt.net X-Trace: 15 Jan 2000 11:03:59 -0600, 216-119-163-247.ipset45.wt.net Organization: World Trade Network, Inc. (WT.net) Lines: 10 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Should I just use fread like so: fread(ch,1,1,fin); // if ch is a single char var? Aaron Chernosky wrote: > > 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? > > Aaron C