Question: In C++ Description: You will use a merge sort to combine 2 lists of names into one master list. The class lists are stored in

In C++

Description: You will use a merge sort to combine 2 lists of names into one master list.

The class lists are stored in two separate files, called firstClass.txt and secondClass.txt, and the results will be stored in a file called masterclass.txt.

The lists are composed of student names, in the form lastname, firstname.

The lists are in alphabetical order, by last name.

The lists are not the same length.

If 2 or more students have the same last name, they should be sorted be first name.

Names in files look like this

Last, First

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!