Question: Write a c++ code for the following program with the program fully running on compiler do display the output as required by the program Notes
Question 1: Implement the find and replace function similar to MS word. You have to find the first matching instance of the 'findstring' with the 'replacestring' in the 'mainstring. mainString: "I love computing. It is so much fun" findString: "computing" replaceString: "Lahore mainString changes to: "I love Lahore. It is so much fun Another example: mainString: "I love computing. It is so much fun" findString: "fun replaceString: "going to the library" mainString changes to:"I love Lahore. It is so much going to the library
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
