Question: Need help on C++. Remove the duplicates from the database file sort the data by the student name first field and the student id field

Need help on C++.

Remove the duplicates from the database file sort the data by the student name first field and the student id field second in ascending order. After writing your data to the output file, output a tabular style report to standard output. Include in your report the appropriate headers for each column. You may assume that the report will print in portrait mode on a standard 8.5 x 11 sheet of paper.

Center the titles in each header. Left justify the data in each column with the exception of the floating point columns which are right justified. Floating point numbers should be displayed to two decimal places. The data should fit on in the portrait format.

(Index, students name, student id, address, city, state, postcode, percentage)

Student.csv

1,cristiano,333-432,add1,city1,state1,123456,87.65

2,messi,376-42l,add2,city2,state2,654321,77.43

3,cristiano,333-432,add1,city1,state1,123456,87.65

4,kaka,365-80l,add3,city3,state3,876321,91.33

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!