Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help with C++ code, plz help!! Intruction --> Here is the execution output screenshot Create a program to utilize the given C++ class

I need help with C++ code, plz help!!

Intruction -->

image text in transcribed

Here is the execution output screenshot

image text in transcribed

Create a program to utilize the given C++ class (do not change the class given to you). The program will use the Person class to aid in creating an address book to manage the user's contacts. The initial contact list will be loaded from a file. The file contacts.txt has been provided for you as a base point. Each row in the file should be organized like so: firstName lastName phoneNumber emailAddress Welcome to your address book manager! Please enter a file to read your contacts from (include extension): contacts That file doesn't exist. Try again. Please enter a file to read your contacts from (include extension): contacts.txt File opening ... File read. Closing the file from read mode. Menu: 0. Exit 1. Display Address Book 2. Add Contact What would you like to do? 1 Address book: Contact 1: Name: Kortni Neal Phone number: 555-555-5555 Email address: kdd195@msstate.edu Contact 2: Name: Aubrey Knight Phone number: 444-444-4444 Email address: akk5@msstate.edu orinis Menu: 0. Exit 1. Display Address Book 2. Add Contact What would you like to do? 2 Here's where we'll gather the information. What is the first name? Test What is the last name? Person What's the phone number (no spaces)? 345-744-2346 What's the email address? test@test.com Menu: 0. Exit 1. Display Address Book 2. Add Contact What would you like to do? 1 Address book: Contact 1: Name: Kortni Neal Phone number: 555-555-5555 Email address: kdd195@msstate.edu Contact 2: Name: Aubrey Knight Phone number: 444-444-4444 Email address: akk5@msstate.edu Contact 3: Name: Test Person Phone number: 345-744-2346 Email address: test@test.com Menu: 0. Exit 1. Display Address Book 2. Add Contact What would you like to do? O Good-bye

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

MongoDB Applied Design Patterns Practical Use Cases With The Leading NoSQL Database

Authors: Rick Copeland

1st Edition

1449340040, 978-1449340049

More Books

Students also viewed these Databases questions