摘要:
A pure virtual function is a function declared in a base class that has no definition relative to the base. As a result, any derived class must define its own version—it cannot simply use the version ... 阅读全文
posted @ 2009-04-30 15:33
张凤娟
阅读(312)
评论(0)
推荐(0)
摘要:
The foundation upon which C++ builds its support for polymorphism consists of inheritance and base class pointers. The specific feature that actually implements polymorphism is the virtual function. T... 阅读全文
posted @ 2009-04-30 11:40
张凤娟
阅读(258)
评论(1)
推荐(0)
浙公网安备 33010602011771号