Question: C++ Just write the following code to perform this task. a) Paste input file data (specified below) into a file named address.txt. This file has

C++

C++ Just write the following code to perform this task. a) Paste

Just write the following code to perform this task. a) Paste input file data (specified below) into a file named address.txt. This file has 3 fields separated by a "!" character per person; the first field is the person's name, the second field is the street address, and the third field is the City State and Zip Code. b) Create a blank text file named output.txt. c) Read data from input.txt into the program one line at a time. d) Use string parsing to output the address as three separate lines. Input File Samuel Jones!1313 Mockingbird Lane!Anytown CA 33456 Brenda Smith!123 Main Street!Someplace GA 45623 Bruce Wayne!999-99 1st Ave! Gotham City NY 87394 Output File Samuel Jones 1313 Mockingbird Lane Anytown CA 33456 Brenda Smith 123 Main Street Someplace GA 45623 Bruce Wayne 999-99 1st Ave Gotham City NY 87394

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!