Class roster is a text file of students who are enrolled in the class. Each student record contains the following fields:
student id, last name, first name, academic level.
Write a C++ program that performs add, drop, list (in last name / first name sorted order or id)
and update functions.
Assuming a given text file:-
ReadFile, WriteFile, Add, Drop and Traverse functions are required. The others are optional.
ReadFile to populate AVL tree DB.
Each line is an insert to the tree.
Perform inorder traversal and list all nodes after each insertion.
Add yourself as #9
WriteFile writes DB in "postorder" sequence to lab1a.txt
WriteFile as lab1b.txt