摘要:
C++的多态性实现机制剖析 1. 多态性和虚函数 #include <iostream.h> class animal { public: void sleep() { cout<<"animal sleep"<<endl; } void breathe() { cout<<"animal brea 阅读全文
posted @ 2017-06-17 21:27
liguangsunls
阅读(338)
评论(0)
推荐(0)