注:转载请标明原文出处链接:https://xiongyiming.blog.csdn.net/article/details/103141450
为了方便查阅复习,将自己原来撰写的博文进行整理,C++ 面向对象的三大特征专栏目录如下:
- C和C++的主要区别 和 C++面向对象的三大特征
- C++ 封装(1): 类和对象
- C++ 封装(2): 构造函数和析构函数
- C++ 封装(3): 对象成员与对象数组, 深拷贝和浅拷贝
- C++ 封装(4): 对象指针, const
- C++ 继承(1): 继承方式(public, protected, private), 继承中的特殊关系(隐藏 , is-a)
- C++ 继承(2): 多重继承, 多继承, 虚继承(virtual)
- C++ 多态(1): 虚函数及实现原理
- C++ 多态(2): 纯虚函数, 抽象类和接口类
- C++ 多态(3): RTTI 和 异常处理
- C++ 模板(1): 友元函数和友元类
- C++ 模板(2): 静态(static)
- C++ 模板(3): 运算符重载
- C++ 模板(4): 模板函数, 模板类 和 标准模板库(STL)