Hello guys i want to ask, what is the problem
i got error message cannot declare variable cocktailMachineObj to be of abstract class type CocktailMachine , because the following virtual function are pure within 'CocktailMachine'
A pure virtual function or pure virtual method is a virtual function that is required to be implemented by a derived class if the derived class is not abstract. Classes containing pure virtual methods are termed "abstract" and they cannot be instantiated directly. A subclass of an abstract class can only be instantiated directly if all inherited pure virtual methods have been implemented by that class or a parent class
hi gunnerfunner
thx for for your answer.
i actually need make abstract for void makeCocktail(Cocktail*) in CocktailMachine.h
but even i delete the rest virtual except makeCocktail. i still get error