摘要: 1. 函数重写回顾 1 #include<iostream> 2 #include<string> 3 4 //函数重写:子类重定义父类中已经存在的成员函数 5 6 using namespace std; 7 8 class Parent 9 { 10 public: 11 void print( 阅读全文
posted @ 2020-09-02 21:24 六月iii 阅读(342) 评论(0) 推荐(0)