GoF设计模式源代码实现c++

时间:2013-07-11 13:26:20
【文件属性】:
文件名称:GoF设计模式源代码实现c++
文件大小:840KB
文件格式:RAR
更新时间:2013-07-11 13:26:20
设计模式 源代码 c++ 23个设计模式,每个模式都有详细的代码实现,全部例程都编译通过
【文件预览】:
Source
----State()
--------State.cpp(1KB)
--------main(3KB)
--------State.h(788B)
--------stateentry(16KB)
--------state(7KB)
--------Main.cpp(515B)
----AbstractFactory()
--------AbstractFactory.cpp(2KB)
--------AbstractFactory.h(2KB)
--------Main.cpp(771B)
----Singleton()
--------Singleton.cpp(687B)
--------Singleton.h(628B)
--------Main.cpp(498B)
----Design Pattern.PR(19KB)
----Design Pattern.IMB(12KB)
----FlyWeight()
--------FW()
--------FlyWeight.cpp(1KB)
--------FlyWeight.h(1KB)
--------Main.cpp(533B)
----Design Pattern.PFI(240B)
----Factory()
--------Factory.h(838B)
--------Factory.cpp(956B)
--------Main.cpp(487B)
----Visitor()
--------Visitor.h(1KB)
--------Visitor.cpp(1KB)
--------Main.cpp(517B)
----Design Pattern.IAD(728B)
----Observer()
--------ob()
--------Observer.h(2KB)
--------Observer.cpp(2KB)
--------Main.cpp(679B)
----Decorator()
--------Decorator.cpp(719B)
--------Decorator.h(1KB)
--------Main.cpp(687B)
----Design Pattern.WK3(11KB)
----Memento()
--------obj(17KB)
--------Memento.h(1007B)
--------memo(4KB)
--------Memento.cpp(1KB)
--------main(3KB)
--------Main.cpp(797B)
----Design Pattern.IMD(448B)
----Iterator()
--------Main.cpp(604B)
--------Iterator.cpp(1KB)
--------Iterator.h(1KB)
----Command()
--------Command.cpp(972B)
--------Main.cpp(576B)
--------Command.h(803B)
----Design Pattern.PS(102KB)
----Builder()
--------Builder.cpp(1KB)
--------Builder.h(1KB)
--------Main.cpp(678B)
----Proxy()
--------Proxy.cpp(874B)
--------Main.cpp(457B)
--------Proxy.h(875B)
----Composite()
--------Composite.h(1KB)
--------Composite.cpp(2KB)
--------Main.cpp(635B)
----Design Pattern.PO(776B)
----Prototype()
--------Prototype.cpp(1KB)
--------Prototype.h(987B)
--------Main.cpp(688B)
----ChainOfResponsibility()
--------ChainOfResponsibility.h(1KB)
--------ChainOfResponsibility.cpp(924B)
--------main(16KB)
--------ChainOfResponsibility(6KB)
--------Main.cpp(538B)
----Strategy()
--------Strategy.cpp(729B)
--------Main.cpp(501B)
--------Strategy.h(744B)
----Design Pattern.IAB(40KB)
----Design Pattern.PRI(119KB)
----Adapter()
--------Adapter.h(788B)
--------Adapter.cpp(665B)
--------Main.cpp(506B)
----Brige()
--------Brige.h(1KB)
--------Brige.cpp(809B)
--------Main.cpp(751B)
----TemplateMethod()
--------TemplateMethod.cpp(673B)
--------TemplateMethod.h(844B)
--------Main.cpp(522B)

网友评论

  • 最近正好学习模式,大多数是JAVA的代码,这个C++的例子很实用
  • 非常好,正需要,但是数了一个不够23个,缺了4个貌似。