设计模式实现的C++源代码

时间:2012-09-06 10:40:30
【文件属性】:
文件名称:设计模式实现的C++源代码
文件大小:27KB
文件格式:RAR
更新时间:2012-09-06 10:40:30
设计模式实现的C++源代码 设计模式实现的C++源代码,有20个模式的源代码,个人觉得比较经典,有需要的朋友可以下下来看看.
【文件预览】:
State
----Main.cpp(514B)
----State.cpp(1KB)
----State.h(788B)
FlyWeight
----Main.cpp(532B)
----FlyWeight.h(1KB)
----FlyWeight.cpp(1KB)
AbstractFactory
----Main.cpp(770B)
----AbstractFactory.h(2KB)
----AbstractFactory.cpp(2KB)
Decorator
----Main.cpp(687B)
----Decorator.cpp(719B)
----Decorator.h(1KB)
Strategy
----Main.cpp(501B)
----Strategy.cpp(729B)
----Strategy.h(743B)
Adapter
----Main.cpp(506B)
----Adapter.h(788B)
----Adapter.cpp(665B)
Iterator
----Main.cpp(604B)
----Iterator.h(1KB)
----Iterator.cpp(1KB)
Observer
----Main.cpp(641B)
----Observer.h(2KB)
----Observer.cpp(2KB)
Singleton
----Main.cpp(498B)
----Singleton.h(628B)
----Singleton.cpp(687B)
Memento
----Main.cpp(797B)
----Memento.h(1007B)
----Memento.cpp(1KB)
Command
----Main.cpp(576B)
----Command.h(803B)
----Command.cpp(972B)
TemplateMethod
----Main.cpp(522B)
----TemplateMethod.cpp(673B)
----TemplateMethod.h(844B)
Visitor
----Main.cpp(517B)
----Visitor.cpp(1KB)
----Visitor.h(1KB)
ChainOfResponsibility
----Main.cpp(538B)
----ChainOfResponsibility.cpp(924B)
----ChainOfResponsibility.h(1KB)
Prototype
----Main.cpp(688B)
----Prototype.cpp(1KB)
----Prototype.h(987B)
Factory
----Main.cpp(486B)
----Factory.cpp(954B)
----Factory.h(835B)
Brige
----Main.cpp(751B)
----Brige.cpp(809B)
----Brige.h(1KB)
Builder
----Main.cpp(678B)
----Builder.h(1KB)
----Builder.cpp(1KB)
Composite
----Main.cpp(635B)
----Composite.cpp(2KB)
----Composite.h(1KB)
Proxy
----Main.cpp(457B)
----Proxy.cpp(874B)
----Proxy.h(875B)

网友评论

  • 代码可以用,但不是那种特别经典的。