2013年4月30日

摘要: A():1B()1View Code 1 #include <iostream> 2 3 using namespace std; 4 class A 5 { 6 protected: 7 static int count ; 8 int num ; 9 public:10 A()11 {12 count++;13 num = count;14 cout<<"A():"<<num<<endl;15 }16 virtual ~A()17 {18 cout<<"~A():"<... 阅读全文
posted @ 2013-04-30 02:22 珞珈風哥 阅读(146) 评论(0) 推荐(0) 编辑

导航