Question: In C++, Write a program that replaces text in a file. Your program should prompt the user to enter a filename,enter a new filename, an
In C++, Write a program that replaces text in a file. Your program should prompt the user to enter a filename,enter a new filename, an old string, and a new string. Here is a sample run:

Select clusersladministrator documentslvisual studio 20131Projectsisample21 Debuglsample2.exe Enter your old filename: c:\mp.txt Enter your new filename: c: \hotdog.txt Enter your old string: cow Enter your new string: candy our replacements have been made and stored in the new file Press any key to continue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
