Im using fstream and strings-working with text documents
what code does one use if the user wants to swap a word or words in a
text file, eg the user wants to swap the word "here" in a text file with the word "there" without using predefined functions such as "strswap".......thanks
thanks.....
just one small complication, how would I get an input from the user as to which
word to change, and which word to put in place of the changed word.......
cout<<"Enter word to change:"
cin>>ChangeWord;
cout<<"Enter word to replace:"
cin>>ReplaceWord;