In this exercise you\'ll design a simple address book application using C++ stru
ID: 3643819 • Letter: I
Question
In this exercise you'll design a simple address book application using C++ structuresto store the data. The book must hold 100 (or more) entries. The following
commands must be supported:
Add an entry to the address book
Browse the address book
Delete an entry from the address book
Search for an entry in book by any field of your choice
When it is launched, the program will present a menu with the above choices, and
will also display the number of entries in the book. The minimum fields for each
entry are as follows:
Name (Up to 64 characters)
Address (Up to 128 characters)
Telephone Number (Format checked by your program; (xxx)-xxx-xxxx )
Comment (Up to 128 characters)
DESIGN CRITERIA: The program must store the data in a C++ structure array.
This array may be a global variable on your program, or it may be dynamically
allocated in memory. Each major component in the program must be contained in a
separate function. Your main() function may contain a maximum of only 10 C++
statements. The program is not required to retain results between runs.
Explanation / Answer
I have already this program available.You can check, it can be helpful to you.Its some what like your question. 01 #include 02 #include 03 04 using namespace std; 05 06 int main(int argc, char *argv[]) 07 { 08 int bookSz; 09 struct person{//structures allow us to have many entries in one array position 10 string firstName; 11 string lastName; 12 string address; 13 string city; 14 string state; 15 string zip; 16 string phone; 17 }; 18 19 /* coutRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.