PDA

View Full Version : help with binary files


wo1olf
03-15-2007, 10:01 PM
I want to know how can i do (in c++) to re-write in an existing binary file, without erasing its content ?

Templarian
03-16-2007, 10:28 PM
Look for a appending using fstream. MSDN should have the information.

Did you write the binary file?

TheColonial
04-08-2007, 04:48 AM
That's a fairly obscure question :) If you want to rewrite the file, then why do you want to keep the existing content?