会员
众包
新闻
博问
闪存
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Ren.Yu
博客园
首页
新随笔
联系
订阅
管理
2015年11月22日
Headfirst设计模式的C++实现——简单工厂模式(Simple Factory)
摘要: Pizza.h 1 #ifndef _PIZZA_H 2 #define _PIZZA_H 3 #include 4 #include 5 6 class Pizza 7 { 8 public: 9 Pizza(const std::string &type) : m_type(typ...
阅读全文
posted @ 2015-11-22 14:58 Ren.Yu
阅读(291)
评论(0)
推荐(0)
编辑
公告