I have 2 classes.
Class A { void printMe(); } cpp File:
A::printMe(){ cout<<"yay"; } Class B { void DoSomething(); } cpp File
B::DoSomething(){ A::printMe(); } How do I make an object of Class A in Class B and use it for the function printMe();
References, but the answers are not accepted and they did not work for me HERE