会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
程序员那么可爱
博客园
首页
新随笔
新文章
联系
订阅
管理
2021年10月17日
2021.10.17(简单工厂模式C++)
摘要: C++源代码: #include<iostream> #include<vector> using namespace std; typedef enum PersonTypeTag { M, W, R }PersonType; class Person { public: virtual void
阅读全文
posted @ 2021-10-17 17:20 白日梦想家~
阅读(46)
评论(0)
推荐(0)