Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Fundamentals Study Guide

Authors: Dr. Sergio Pisano

1st Edition

B09K1WW84J, 979-8985115307

Students also viewed these Databases questions