Question: C++ For this assignment you must write a program that implements a membership directory for the BINGO. The membership directory should be implemented as a

C++

For this assignment you must write a program that implements a membership directory for the BINGO. The membership directory should be implemented as a Binary Search Tree. The directory should be able to create/delete member accounts, edit a members information, search for a specific member, display a list of members, and output list of members and their information to a file in post-order (the file format is described below).Every entry in the membership directory should have the following properties: a member account name (one word), the members first, last, and middle names, the number of games won, and the number of games lost. Use the account name to sort the BST. Your program should implement a text-based interface capable of handling the following commands: exit exits the program load-parses the contents of the file as if they were entered from the command line save -saves the contents of the membership directory into the specified file using the format described below; output the information in post-order directorydisplays a list of member account names; use an in order traversal displaydisplays the information for the given member clearclears the membership directory; this sets the BST to empty. add -adds a new member to the directory; create the member with default information and the specified account name set name -set the members name to last, first middle. Last and first name is required, the middle name is optional. set wins -set members wins to wins.set losses -set members losses to losses. remove -remove the specified member.

The save file should have the following format:

# of Entries Member Account Name

1Last, First Middle

Wins Losses

Member Account Name 2

Last, First Middle

Wins Losses

Member Account Name 3

Last, First Middle

Wins Losses

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!