write a c++ program dont use high end programming symbol such as this-> A single Employee can not belong to multiple Companies (legally!! ), but if we delete the Company, Employee object will not destroy. Identify the relationship between the classes and Implement the given scenerio in the photo using C++

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter10: Classes And Objects
Section: Chapter Questions
Problem 3MQ1
icon
Related questions
Question

write a c++ program dont use high end programming symbol such as this->

A single Employee can not belong to multiple Companies (legally!! ), but if we delete the Company, Employee object will not destroy.

Identify the relationship between the classes and Implement the given scenerio in the photo using C++

Employee
omyName_p: char *
Company
name_p : char *
pmyEmp_p Employee
<constructor>> Employee ()
<constructor>> Company ()
<<destructor>> Company ()
<destructor>> Employee ()
disp ()
Transcribed Image Text:Employee omyName_p: char * Company name_p : char * pmyEmp_p Employee <constructor>> Employee () <constructor>> Company () <<destructor>> Company () <destructor>> Employee () disp ()
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
ADT and Class
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning