abstract base class and constructorThank you. This is correct: Dog::Dog(string a, string b):Pet(a,b) {} The problem is that I did not...
abstract base class and constructorLine28: I change it to Dog::Dog(string a, string b):Pet(a,b) {} The dog class is derived from pet...
abstract base class and constructorI know that using abstract base class to virtual member functions. When there are variable data in t...
Inheritance of classThank you.
Inheritance of classI try to learn inheritance by myself, however, I do not know where is the error in this code. I ...
This user does not accept Private Messages