Question: C++ Phone Number Lists The program should ask the user to enter a name or partial name to search for in the array. Any entries

C++ Phone Number Lists

The program should ask the user to enter a name or partial name to search for in the array. Any entries in the array that match the string entered should be displayed.

For example. If the user enters Smith, the program should display the following names from the list: Zetta Smith, 555-6358 Mariana Smith, 555-7855

Program Requirements: Read data file to find out how many people there are (loop - I may test with a different file)

Dynamically create a string array to store the entire string of each line (names and numbers)

Have at least one function to read/populate your string array (you can use more than one if desired)

Have at least one function to determine if the search parameter exists and display results to console (you can use more than one if desired

Call all functions from main ()

Use functions with arguments

No global variables

Input File:

Murray Jones, 555-1212 Christal Delamater, 555-4587 Zetta Smith, 555-6358 Elia Roy, 555-5841 Delmer Bibb, 555-7444 Smith Nevers, 555-7855 Roselle Gose, 555-3211 Jonathan Basnett, 555-5422 Marcel Earwood, 555-4112 Marina Newton, 555-1212 Magdalen Stephan, 555-3255 Deane Newton, 555-6988 Mariana Smith, 555-7855 Darby Froman, 555-2222 Shonda Kyzer, 555-3333 Jones Netto, 555-1477 Bibone Magnani, 555-4521 Laurena Stiverson, 555-7811 Elouise Muir, 555-9633 Rene Bibb, 555-3255

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!