Question: Please use C++ to code: Exercise P9.6. Junk mail. Write a program that reads in two files: a template and a database. The template file
Please use C++ to code:






Exercise P9.6. Junk mail. Write a program that reads in two files: a template and a database. The template file contains text and tags. The tags have the form |1 12 13.. and need to be replaced with the first, second, third,... field in the current database record. A typical database looks like this: Mr.|Harry Hackerl1105 Torre Ave. |Cupertino|CA195014 Dr.John | Lee| 702 Ninth Street Apt. 4|San Jose| CA 195109 Miss|Evelyn |Garcia| 1101 S. University Place|Ann Arbor |MI |48105
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
