【学习笔记】C++之多态实例:银行服务系统(Bank Service System)

Account做为其余类的基类,将其定义成抽象类,display() 和 withdrawl() 都是纯虚函数,后面用其实现多态。ios //================================== //account.h //================================== #pragma once #include<string> using std::str
相关文章
相关标签/搜索