Question
C++ Problem Write a program to keep track of business contacts. Specification Create a BusinessContact class (cpp and .h file) with the following fields: firstName:String
C++ Problem
Write a program to keep track of business contacts.
Specification
Create a BusinessContact class (cpp and .h file) with the following fields:
firstName:String
lastName:String
phoneNumber:String
emailAddress:String
company:String
Store the records in memory in an array or vector.
Store the records on disk in the text file contacts.txt.
Create a menu that allows for the following operations:
Add a Contact
Delete a Contact
View a Contact
Display the Contact List
Automatically read the text file and store the records in an array when the program begins.
Automatically write the records to the file when the program ends.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started