Date: Wed, 4 Nov 1998 10:59:39 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Bjorn De Meyer cc: djgpp AT delorie DOT com Subject: Re: why is output different each time (2nd try) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Tue, 3 Nov 1998, Bjorn De Meyer wrote: > Also, you're opening your files in text mode rather than in binary mode, > and get you use fgetc. fuse fopen("foo.bar","rb") to open for reading in > binary mode. The data-base that was posted here indicated that it is a pure text file. If that is true, there's no need to use "rb" to open it.