Need a solution, C/C++ Programming

Assignment Help:
Hello. I need a solution for this assignment. It is for C++ Language:

Create a BusinessPartner class that contains a first name, company name, and a telephone number. Create a Contacts class that contains a dynamically allocated array of BusinessPartners as well as the owner''s name and cell phone number.

Write a program that creates a Contacts object. The Business Partner array should be filled with data from the BusPhNum.txt file. Your program should then create a menu for the user to do the following: (Note: This is an example of aggregation - you must use aggregation for full credit)

1) display all the Business Partners in the contacts object as well as the owner and phone number of the owner.

2) look up a particular name in the contacts object and retrieve the phone number of the Business Partner

3) look up a particular name in the contact object and retrieve the Business Partner''s company

Related Discussions:- Need a solution

Describe how a structure differs from a union, Question : (a) How does...

Question : (a) How does a structure differ from an array? (b) Describe how a structure differs from a union? (c) Declare a union called ‘clothes' which consists of the

Program to create a query from database, Implement (a part of) electronic e...

Implement (a part of) electronic election Scenario where following political parties are participating in election: PPP, PML and PTI.  Create a class PollingStation where it stor

Calculation, write a program to calculate the cuboid

write a program to calculate the cuboid

Algorithms, create algorithm for doubly link list using c data structure

create algorithm for doubly link list using c data structure

Write a constructor for a movie, Suppose we use Lists to represent a movie ...

Suppose we use Lists to represent a movie which has a title, cast and year. For example, the following list represents the movie, "Die Hardly", with the cast "Bruce Willing" and "T

Minimum shelves, write a program to find the minimum number of shelves

write a program to find the minimum number of shelves

Define character input and output with files, Define Character Input and Ou...

Define Character Input and Output with Files? This is done by using equivalents of putchar and getchar which are called putc and getc. Each one takes an extra argument which id

Luminous Jewels - The Polishing Game, Byteland county is very famous for lu...

Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd