In C++, a pure virtual function is a virtual function that you declare in a base class but don't define. A class containing a pure virtual function is called an abstract class, and you can't create ...
-draw() must be a member of Shapes class for polymorphic dispatch to work (i.e. we'll have a pointer to Base class and we can use that pointer to call draw() of different shapes that inherit Shapes ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results