derived classes and virtual function
Hi, when use virtual functions you can just use a base class pointer access and of those functions in any derived type right?? But is it possible to use the base type pointer to access member functions specific to the derived type??? or would you then need a specific derived type pointer???
If you do need a specific derived type pointer, doesn't that severly limit polymorphism and the use of virtual functions??
Again, if that's the case, is it really anymore useful than simple function overloading other than saving a few lines of code??