摘要:
class A{}; class B:public A{}; 这是继承 注意事项: 例: class A{public : A(int);}; A::A(int x){} class B :public A{public : B(int ,int);}; B::B(int x,int y):A(x) 阅读全文
posted @ 2016-08-08 19:29
洛翼mwk
阅读(120)
评论(0)
推荐(0)
|
摘要:
class A{}; class B:public A{}; 这是继承 注意事项: 例: class A{public : A(int);}; A::A(int x){} class B :public A{public : B(int ,int);}; B::B(int x,int y):A(x) 阅读全文
posted @ 2016-08-08 19:29
洛翼mwk
阅读(120)
评论(0)
推荐(0)
|