Question: Need help with c++ program. Use cstrings for this program. This program involves developing a menu-driven database application. You need to accept as input from

Need help with c++ program. Use cstrings for this program.

This program involves developing a menu-driven database application. You need to accept as input from a file a person's first name, last name, phone number, and birth date. This program will be menu driven with the following options:

1. Find a person's information

2. Add a person to the database???

3. Edit a person's information

4. Display all records to the screen

5. Quit

- Option 1 allows the user to enter a name, after which the program will search for and display the person's information. Use the binary-search algorithm discussed in this chapter.

- Option 2 allows the user to add a person to the database

- Option 3 allows the user to change any information related to a specific individual. Be aware that if the user changes the last name of the person, the arrays will need to be resorted.

- Option 4 displays to the screen all of the records sorted by last name in the database

- Option 5 will end the program

The data will be read from the file only once, and will only update the file after the person has chosen Option 5 from the menu. All other modifications to the data are performed on the arrays storing the information. Create your own data file using realistic personal data to exercise all of the options in the program.

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!