Question: Please read carefully. Make sure to include comments on your code. I will only give a thumbs up for correct solution and comments. 1. Introduction
Please read carefully. Make sure to include comments on your code.
I will only give a thumbs up for correct solution and comments.






1. Introduction You will create a C++ program to manage a name list. Read a file that has a lot of items that stand for the information of a name list of certain class. Then sort the records by specific attributes to alphabetical ascending order, and output to a plain text file. 2. Input and Output a. Input file 1) The input file has multiple records (number> 1). Your program should read the records one by one from the beginning of the file to the end. Each record has uniform attributes (columns), the attributes appear in a fixed order, a record should contain all the keys, no empty values part will be given. But the input file may contain duplicated records. If two records have same id value, they can be recognized as duplicated records. You should always update record with the latter one. If somebody's name has more than one words, the separator would be underline _". Other than useful information in records, no other character or space will be given. 2) 3) Each record takes one line (ends in n'), and one line only contains one
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
