I have created 3 classes that all need to inherit from one another and print out the following :
Destructor of classA
Destructor of classC
Destructor of classB
However I am strugling with the multi inheritance part and I am not entirely sure about the format.Heres what I have so far;
usingnamespace std;
class classA
{
public:
classA();
~classA();
};
And so on for the rest of them. I know i have to implement the multi inheritance in the header file but how? And themn would the .cpp file have to change? Thank you