Hello
I have problem using class base with pure virtual method. The method should be virtual.
I get this error:
Member is class base.Error: object of abstract class type "Membro" is not allowed: function "Member::sale" is a pure virtual function
- Teacher (derived)
- Student (derived)
I'm creating a new object to trying find, but how the method is abstract i can't do that.
What's the suggestion to solve my problem?
Thanks!