Mail Archives: djgpp/1998/04/27/22:00:57
From: | "James Addison" <addi AT rogers DOT wave DOT ca>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | FILE I/O - Problems.
|
Date: | Mon, 27 Apr 1998 18:23:58 -0400
|
Organization: | Rogers WAVE
|
Lines: | 13
|
Message-ID: | <6i30i5$d7l$1@news.on>
|
NNTP-Posting-Host: | pc-28022.on.rogers.wave.ca
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I am trying to open an existing binary file for read/write, so I open it
like:
fstream f(filename, ios::in | ios::out | ios::binary | ios::ate);
and no matter what, it always truncates - how to stop this? I need to use
what is in the $%^ing file.... :)
thanks in advance... please reply to me directly at:
addi AT rogers DOT wave DOT ca using DJGPP
- Raw text -