摘要:
1 #include<iostream> 2 using namespace std; 3 4 class Base 5 { 6 public: 7 Base() 8 { 9 cout<<"Base Ctor"<<endl;10 foo();11 }12 ~Base()13 {14 cout<<"Base Dtor"<<endl;15 foo();16 }17 virtual void foo()18 {19 cout<<"foo Base..."... 阅读全文
posted @ 2012-10-16 16:03
2007winter
阅读(159)
评论(0)
推荐(0)

浙公网安备 33010602011771号