| www.delorie.com/archives/browse.cgi | search |
| Date: | Wed, 4 Nov 1998 10:59:39 +0200 (IST) |
| From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| X-Sender: | eliz AT is |
| To: | Bjorn De Meyer <bgdmeyer AT eduserv2 DOT rug DOT ac DOT be> |
| cc: | djgpp AT delorie DOT com |
| Subject: | Re: why is output different each time (2nd try) |
| In-Reply-To: | <Pine.GSO.3.96.981103171748.22526D-100000@eduserv2.rug.ac.be> |
| Message-ID: | <Pine.SUN.3.91.981104105913.25255E-100000@is> |
| MIME-Version: | 1.0 |
| 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.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |