Question: // Q6: save (7 points) // Save the linked list of students to a file list.txt using ofstream // You will need to save the

 // Q6: save (7 points) // Save the linked list of

// Q6: save (7 points) // Save the linked list of students to a file list.txt using ofstream // You will need to save the number of students in linked list. That will help in load) when reading the file. // One format to store is: /I Kno. of students> // //Studenti roll no.> // // Student2 name> /I // You may store the list in another format if you wish. You need to read the file in same way in load // Hint: You may want to cast the enum studentType, to an int before writing it to the file. See example in question file. // This function is called when exiting the program (end of main void save(string fileName)

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!