会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
appearAndLeave
博客园
首页
新随笔
管理
2021年9月21日
多重继承下,注意父类指针new子类对象的相关问题
摘要: #include<iostream> using namespace std; class base1 { public: int base1_1; int base1_2; base1() { cout << "base1的地址\t" << this << endl; } }; class bas
阅读全文
posted @ 2021-09-21 15:48 appearAndLeave
阅读(157)
评论(0)
推荐(0)
公告