摘要: 1 #include 2 3 using namespace std; 4 5 class animal 6 { 7 public: 8 virtual void print_age(void)=0; 9 protected:10 int age;11 };12 class ... 阅读全文
posted @ 2015-04-12 14:52 yyxayz 阅读(260) 评论(0) 推荐(0) 编辑