【程序设计实习】笔记 6-005 间接基类
#include<iostream>using namespace std;class Base{ public: int n; Base(int i):n(i) { cout<<"Base "<<n<<" constructed"<<endl; } ~Base(){ cout<&