会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lyx9785
博客园
首页
新随笔
联系
订阅
管理
2025年8月2日
c++类 exercise
摘要: demo1 在子类中使用 基类::函数调用基类函数 实现函数重写 #include <iostream> #include <string> using namespace std; // 基类 Person class Person { private: string name; int age;
阅读全文
posted @ 2025-08-02 09:41 xiaoluosibky
阅读(5)
评论(0)
推荐(0)
公告