摘要: 抽象: 纯虚函数: 1.virtual函数声明时后面加上 "=0"; 2.纯虚函数不需要定义 3.所有的纯虚函数都需要复写 1 #include <iostream> 2 #include <string.h> 3 #include <unistd.h> 4 5 using namespace st 阅读全文
posted @ 2020-01-07 21:19 夜空的北极星 阅读(1207) 评论(0) 推荐(0) 编辑