Hi!
If I have the following “C:\textfile.txt” with contents:
---------------
Hi there.
This dog is blue and his ID: 1234. BlaBla…
---------------
and would traverse it and find “ID:” and change “1234” to for e.g. “56” so the file would look like:
---------------
Hi there.
This dog is blue and his ID: 45. BlaBla…
---------------
I’m programming VC++ and MFC. Any tips of how I could tackle my problem.
Thanks - Anders
If I have the following “C:\textfile.txt” with contents:
---------------
Hi there.
This dog is blue and his ID: 1234. BlaBla…
---------------
and would traverse it and find “ID:” and change “1234” to for e.g. “56” so the file would look like:
---------------
Hi there.
This dog is blue and his ID: 45. BlaBla…
---------------
I’m programming VC++ and MFC. Any tips of how I could tackle my problem.
Thanks - Anders