Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The purpose of this assignment is to assess your ability to do the following: Model aggregation relationships with UML class diagrams (utilize abstraction in software

The purpose of this assignment is to assess your ability to do the following:

Model aggregation relationships with UML class diagrams (utilize abstraction in software design).

Implement classes utilizing aggregating relationships.

Utilize aggregate objects in a software solution.

Utilize file input/output in a C++ program.

Implement a software solution creates a contact management system. The contact management system will use file input/output to store user inputted name, address, and phone number. The user can choose to input new contact. When the program is terminated, the contacts are saved in a .txt file so they are available the next time the program is run.

Each contact created will need to have a unique identifier in order to search in Part 2;

Create a UML class design for a contact management system. Identify all the classes and relationships. Implement the application from the design.

Your application is responsible for keeping these items:

This will be the Contact.h file:

1: name - (Last, and First) Fink, Charlie.

2: Mailing address: Street address: 1234 Chester Rd.

State: AZ Zip Code: 85023

3: Phone Number: (555-555-1234)

Output:

The 1 is the identifier, and it increments after each contact is created.

Have it allowed for multiple contacts until the user types -1.

After completion, the user can search contacts by identifier or last name.

Refer to the "Contact Management System."

Step 3:

Write a driver program that instantiates a Contact object. Test out your Contact by loading contacts from the provided file. Display the contacts, add a new contact, search the collection, and save the contacts. Your driver program should demonstrate all functionality in Contact class. When you have finished your program, create a 3- to 5-minute video in which you

1. Discuss how your solution utilizes aggregate objects.

2. Run your code.

In the end explain every step of the code.

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

Readings In Database Systems

Authors: Michael Stonebraker

2nd Edition

0934613656, 9780934613651

More Books

Students also viewed these Databases questions