DoublelylinkedList
BaseBall Player Roster and look up using a doubly linked list
Purpose: Read file with baseball players name, class, and batting average Write to output file a formatted
Summary of the program:
- Prompt the user for the input and output file names.DO NOT hardcode file names into your program.
- Open input file
- Read each player and add them to your PlayerList
- Keep track of the number of players in the list
- Store the players in the list in alphabetical order(lastname then firstname in the event of two people with the same last name).You should be adding them in between other nodes as appropriate
- Test your find operation a couple of times.This can be hardcoded into your program.You do not have to prompt the user for players, unless you wish to.Just make sure you test for players that exist and that do not
- Open an output file
- Write each player from the list into the output file, along with any other output required by the assignment
- Store players in a linked list in alphabetical order by last name Operations: 1. Default Contructor 2. Destructor 3. Add a Player to the List 4. Iterate the List(enables list traversing) 5. Clear out the List to make empty 6. Test if the List is empty 7. Get the Size of the List 8. Find a player in the List(get) 9. look up and print directory type functions 10.Implement the List as a doubly linked list