String search and Replace from a text file
Posted on 2006-04-09
Basically C just gets me crazy.
I need a complete C program which can open a txt file, search and change for example words:
'Me' to 'You'
'There' to 'Their'
These words will be hard coded. Changed file will be displayed, not really needed to be saved to a new file.
I know in C++ its basically:
But like I said C gets me.
Can any expert tackle this problem?