d00_ape Posted August 30, 2004 Share Posted August 30, 2004 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 Link to comment Share on other sites More sharing options...
Question
d00_ape
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
Link to comment
Share on other sites
0 answers to this question
Recommended Posts