www.delorie.com/archives/browse.cgi | search |
From: | "sl" <sl AT psycode DOT com DOT REMOVE_THIS> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: ios::binary ignored by GCC - HELP! |
Date: | Sat, 07 Nov 1998 01:59:54 -0500 (EST) |
Organization: | Posted via Supernews, http://www.supernews.com - Discussions start here! |
Lines: | 14 |
Message-ID: | <fycflpbqrpbz.f21i3u0.pminews@nntp.generation.net> |
References: | <fycflpbqrpbz DOT f2134e0 DOT pminews AT nntp DOT generation DOT net> <7208uh$epn$1 AT news DOT luth DOT se> |
NNTP-Posting-Host: | 205.205.70.101 |
Mime-Version: | 1.0 |
X-Trace: | 910421346 ZCZSLWF4G4665CDCDC usenet77.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 |
On 7 Nov 1998 01:49:05 GMT, Martin Str|mberg wrote: >: does one go about fixing this? > >Try "fprintf(f, "%c", 7);" or the equivalent in C++ (I don't know >C++). But then what happens when/if I try to write "int" to the file? All it really requires is two bytes, but GCC writes it out as its text counterpart for some reason.. Gili
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |