Answer the question
In order to leave comments, you need to log in
How to replace multiple characters starting with a specific (character) in a file?
How to replace multiple characters starting with a specific (character) in a file?
I use fstream
Answer the question
In order to leave comments, you need to log in
If the file is text and fits into memory, then read the file into an array of characters, change the characters in the array to the ones you need, overwrite the file with data from this array.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question