Question: (Coding done in c++, Virtual Studio) Write a program that maintains a database containing data, such as name and birthday, about your friends and relatives.

(Coding done in c++, Virtual Studio)  Write a program that maintains a database containing data, such as name and birthday, about your friends and relatives. You should be able to enter, remove, modify, or search this data. Initially, you can assume that the names are unique. The program should be able to save the data in a file for use later.

Design a class to represent the database and another class to represent the people. Use a binary search tree of people as a data member of the database class.

You can enhance this problem by adding an operation that lists everyone who satisfies a given criterion. For example, you could list people born in a given month. You should also be able to list everyone in the database

Step by Step Solution

3.38 Rating (145 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To create this program in C you need to design two main classes one for the Database and another for the Person You will employ a Binary Search Tree BST to manage your database of people where each no... View full answer

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 Programming Questions!