![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
文章平均质量分 75
HelloWesh
这个作者很懒,什么都没留下…
展开
-
给自己看的,
#include#include #include #include #include class Quote {public: virtual void sayHello() { std::cout << "Hello from base" << std::endl; } virtual void sayHi() { std::cout << "Hi from base" <<原创 2014-10-07 20:53:10 · 433 阅读 · 0 评论 -
C++ dynamic binding
#include#include class Quote {public: virtual void sayHello() { std::cout << "Hello from base" << std::endl; } virtual void sayHi() { std::cout << "Hi from base" << std::endl; } virtual void sa原创 2014-10-01 10:03:34 · 785 阅读 · 0 评论