Question: using nodes Write a C++ program to read 40 students information in a text file and store them in a linked list using pointers. Each
Write a C++ program to read 40 students information in a text file and store them in a linked list using pointers. Each student's record has the following fields; First Name, Last Name, Social Security Number, Student ID, Number of courses taken, and major. Your program should have at least the following functions: 1. Main() 2. Read each student's record from a batch file and store it in linked list using pointers.. Create a text file. 3. Sort the list by name and store it in the second linked list using pointers. 4. Sort the list by social security number and store it in the Third linked list using pointers. 5. Add a new record to the list. 6. Search student's record by name. If more than one student is found with the same name then search by social security number 7. Search student's record by social security number. 8. Delete a record 9. Display the first list of records. 10. Display the list sorted by name. 11. Display the list sorted by social security number 12. Display a student's record
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
