Question: Make two classes, A and B. These classes don't have to do anything specific they should both contain an object of the other class. In

Make two classes, A and B. These classes don't have to do anything specific they should both contain an object of the other class. In essence, make sure that the below code compiles properly. If you need a hint, you can look up "codependent classes in cpp". You should also write a Makefile that compiles your code. class A{ B obj; class B{ A obj; int main ()\{ A obj1; B Obj 2; return 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
