Question: Add the missing code in c++ #include 14 15 #include 16 #include string 17 |#include 18 19 using nanespace std; 20 21 struct DataType 23
#include 18 19 using nanespace std; 20 21 struct DataType 23 24 25 string lastnane; IStudent's Last Nane string firstname; IT Student's First Name string getkey ) const t return lastname; // Returns the key field 26 28 29 e /-Need to add code to overload operator students; DataType currStudent; II Students // One Student (has firs tname, lastnane) 45 46 47 I/ Read esch line from input.txt: I/Store the firstname and the lastname into 49 //the temporary student structure "currStudent 51 52 53 /1 Push the current student into the list ("studenta") 56 /1 Use an iterator to print the unsorted list of students. 58 59 // Sort the list of students. 61 62 63 // Use an iterator to print the sorted 1ist of students. 65 67 68
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
