摘要: 【1】继承与多态 -- 多态在模板中的应用 #include <iostream> using namespace std; namespace _nmsp1 { // 多态 // 人类 class Human { public: virtual void eat() { cout << "人类以吃 阅读全文
posted @ 2024-05-09 20:49 白伟碧一些小心得 阅读(30) 评论(0) 推荐(0) 编辑