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??
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL