From: "sl" Newsgroups: comp.os.msdos.djgpp Subject: ios::binary ignored by GCC - HELP! Date: Fri, 06 Nov 1998 20:36:14 -0500 (EST) Organization: Posted via Supernews, http://www.supernews.com - Discussions start here! Lines: 10 Message-ID: NNTP-Posting-Host: 205.205.70.84 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: 910402026 ZCZSLWF4G4654CDCDC usenet58.supernews.com X-Complaints-To: newsabuse AT supernews DOT com X-Newsreader: PMINews 2.00.1205 For OS/2 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, When I open files in ios::binary mode, it is ignored by GCC. For example, writting "7" to a file opened with the binary flag should write the 7th ASCII character. Instead, the file contains the text-character "7".. How does one go about fixing this? Gili