www.delorie.com/archives/browse.cgi | search |
From: | "sl" <sl AT psycode DOT com DOT REMOVE_THIS> |
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: | <fycflpbqrpbz.f2134e0.pminews@nntp.generation.net> |
NNTP-Posting-Host: | 205.205.70.84 |
Mime-Version: | 1.0 |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |