delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/19/09:13:32

Newsgroups: comp.os.msdos.djgpp
From: manni DOT heumann AT gmx DOT de (Manni Heumann)
Subject: Re: DJGPP/GPP: can not open C++ [io]fstream in binary mode
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000119120752 DOT 9609Y-100000 AT is>
X-Newsreader: News Xpress 2.01
Date: Wed, 19 Jan 2000 13:29:38 GMT
NNTP-Posting-Host: dhcp33-226.uni-bielefeld.de
Message-ID: <3885bc46$1@news.uni-bielefeld.de>
X-Trace: 19 Jan 2000 14:29:42 +0200, dhcp33-226.uni-bielefeld.de
Lines: 19
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

In article <Pine DOT SUN DOT 3 DOT 91 DOT 1000119120752 DOT 9609Y-100000 AT is>, djgpp AT delorie DOT com wrote:
>
>On Tue, 18 Jan 2000, Leonid Pauzner wrote:
>
>> I can not open fstream in BINARY mode,
>> e.g. I got zero size file from the sample program below.
>
>Does section 9.3 of the FAQ help?

I don't think it does, Eli. And I don't think it should, either.

The code of the original poster showed a mistake that is very common. 
Just like the questions that pop up in other newsgroups that deal with C++.
Maybe all these people all read the same bad book.


--

Manni

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019