文件名称:DesignPattern

介绍说明--下载内容均来自于网络,请自行研究使用

《大话设计模式》之一:

C++实现源码,主要包括:

1、简单工厂模式

2、工厂方法模式(提供通用实现方法,可以直接复用)

3、抽象工厂模式(利用反射,并提供反射源码,可以直接拿来复用)

4、迭代器模式

5、单例模式(支持线程安全)

6、状态模式(游戏中常用模式)

7、策略模式

8、模板方法模式

9、责任链模式

10、装饰模式-hello world
(系统自动生成,下载前可以参看下载内容)

下载文件列表

DesignPattern\AbstractFactory\AbstractFactory.cpp

.............\...............\AbstractFactory.vcproj

.............\...............\AbstractFactory.vcproj.CHENCHEN-THINK.Chzf.user

.............\...............\AbstractFactory.vcproj.CHENZHIFENG.DevUser.user

.............\...............\ReadMe.txt

.............\...............\..flection\BasicType.h

.............\...............\..........\tClass.cpp

.............\...............\..........\tClass.h

.............\...............\..........\tKernel.cpp

.............\...............\..........\tKernel.h

.............\...............\..........\tNode.cpp

.............\...............\..........\tNode.h

.............\...............\..........\tUtil.cpp

.............\...............\..........\tUtil.h

.............\...............\stdafx.cpp

.............\...............\stdafx.h

.............\...............\targetver.h

.............\Decorator\Decorator.cpp

.............\.........\Decorator.vcproj

.............\.........\Decorator.vcproj.CHENCHEN-THINK.Chzf.user

.............\.........\Decorator.vcproj.CHENZHIFENG.DevUser.user

.............\.........\ReadMe.txt

.............\.........\stdafx.cpp

.............\.........\stdafx.h

.............\.........\targetver.h

.............\DesignPattern.sln

.............\DesignPattern.suo

.............\Factory\Factory.cpp

.............\.......\Factory.vcproj

.............\.......\Factory.vcproj.CHENCHEN-THINK.Chzf.user

.............\.......\Factory.vcproj.CHENZHIFENG.DevUser.user

.............\.......\ReadMe.txt

.............\.......\stdafx.cpp

.............\.......\stdafx.h

.............\.......\targetver.h

.............\.......Method\FactoryMethod.cpp

.............\.............\FactoryMethod.vcproj

.............\.............\FactoryMethod.vcproj.CHENCHEN-THINK.Chzf.user

.............\.............\FactoryMethod.vcproj.CHENZHIFENG.DevUser.user

.............\.............\ReadMe.txt

.............\.............\stdafx.cpp

.............\.............\stdafx.h

.............\.............\targetver.h

.............\Iterator\Aggregate.cpp

.............\........\Aggregate.h

.............\........\Iterator.cpp

.............\........\Iterator.h

.............\........\Iterator.vcproj

.............\........\Iterator.vcproj.CHENCHEN-THINK.Chzf.user

.............\........\Iterator.vcproj.CHENZHIFENG.DevUser.user

.............\........\main.cpp

.............\........\ReadMe.txt

.............\........\stdafx.cpp

.............\........\stdafx.h

.............\........\targetver.h

.............\ResponsibilityChain\ReadMe.txt

.............\...................\ResponsibilityChain.cpp

.............\...................\ResponsibilityChain.vcproj

.............\...................\ResponsibilityChain.vcproj.CHENCHEN-THINK.Chzf.user

.............\...................\ResponsibilityChain.vcproj.CHENZHIFENG.DevUser.user

.............\...................\stdafx.cpp

.............\...................\stdafx.h

.............\...................\targetver.h

.............\Singleton\main.cpp

.............\.........\ReadMe.txt

.............\.........\Singleton.cpp

.............\.........\Singleton.h

.............\.........\Singleton.vcproj

.............\.........\Singleton.vcproj.CHENCHEN-THINK.Chzf.user

.............\.........\Singleton.vcproj.CHENZHIFENG.DevUser.user

.............\.........\stdafx.cpp

.............\.........\stdafx.h

.............\.........\targetver.h

.............\.........\ThreadLock.h

.............\.tate\main.cpp

.............\.....\ReadMe.txt

.............\.....\State.cpp

.............\.....\State.h

.............\.....\State.vcproj

.............\.....\State.vcproj.CHENCHEN-THINK.Chzf.user

.............\.....\State.vcproj.CHENZHIFENG.DevUser.user

.............\.....\stdafx.cpp

.............\.....\stdafx.h

.............\.....\targetver.h

.............\.....\Work.cpp

.............\.....\Work.h

.............\..rategy\ReadMe.txt

.............\........\stdafx.cpp

.............\........\stdafx.h

.............\........\Strategy.cpp

.............\........\Strategy.vcproj

.............\........\Strategy.vcproj.CHENCHEN-THINK.Chzf.user

.............\.......

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org