摘要: #include using namespace std;class base{protected: int x;public: base(int x1) { x=x1; cout<<"constructing base,x="<<x<<endl; } ~base() { cout<<"disconstructing base"<<endl; }};class ba... 阅读全文
posted @ 2013-12-14 22:40 Android开发8585 阅读(642) 评论(0) 推荐(0) 编辑