|
From: <pr...@le...> - 2003-07-21 09:51:35
|
Hi List, I've been through numerous books & websites on this topic, but I _still_ can't quite understand what is the purpose of a virtual function. From what I understand, a virtual function is defined in a base class, but isn't implemented there. The implementation goes in the derived class. Now if this is true, then why should I need to define a function in my base class at all? Since I'm eventually going to implement it elsewhere, I might as well define it there too. Am I even on the right track here? Can someone take me back to base again? Thanks. Regards, Pranav Negandhi |