Question: Write a C++ program that will open a file named stDATA.txt . This file contains an unknown number of student records, one per line. The

Write a C++ program that will open a file named stDATA.txt. This file contains an unknown number of student records, one per line. The total number of records will be less than or equal to 100. Your program should print a list of students sorted by classification (SR, JR, SO, FR). If they have the same classification, they should be sub-sorted by last name. If both of those are the same then they should be sub-sorted by first name.

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!