摘要:
#include <iostream>#include <vector>#include <list>using namespace std;class Shape{public: virtual void draw() = 0; virtual ~Shape(){}};class Circle:public Shape{public: void draw(){cout<<"Circle::draw\n";} ~Circle(){cout<<"~Circle\n";}};class Triang 阅读全文