PDA

View Full Version : help with binary files



wo1olf
March 15th, 2007, 11: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
March 16th, 2007, 11:28 PM
Look for a appending using fstream. MSDN should have the information.

Did you write the binary file?

TheColonial
April 8th, 2007, 05: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?