会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
aoun
博客园
首页
新随笔
联系
订阅
管理
2014年5月6日
default constructor
摘要: 1 #include 2 #include 3 4 using namespace std; 5 6 class B { 7 public: 8 int b; 9 B() {b=2;}10 };11 12 class A {13 public:14 int a;15...
阅读全文
posted @ 2014-05-06 18:59 aoun
阅读(140)
评论(0)
推荐(0)