GoF
代码说明:
23个GOF模式的C++版本,改写来自Java,一些小实例(GOF c++ java)
文件列表:
AbstractFactory
...............\Factory.cpp
...............\Factory.dsp
...............\Factory.dsw
...............\Factory.h
...............\Item.cpp
...............\Item.h
...............\Main.cpp
...............\Page.cpp
...............\Page.h
Adapter1
........\Adapter1.cpp
........\Adapter1.dsp
........\Adapter1.dsw
........\Adapter1.h
........\Main.cpp
Adapter2
........\Adapter2.cpp
........\Adapter2.dsp
........\Adapter2.dsw
........\Adapter2.h
........\Main.cpp
Bridge
......\Coffee.cpp
......\Coffee.h
......\CoffeeImpSingleton.cpp
......\CoffeeImpSingleton.h
......\Main.cpp
......\Main.dsp
......\Main.dsw
......\Milk.cpp
......\Milk.h
Build
.....\Build.cpp
.....\Build.dsp
.....\Build.dsw
.....\Build.h
.....\Director.cpp
.....\Director.h
.....\Main.cpp
ChainOfResponsibility
.....................\ChainOfResponsibility.dsp
.....................\ChainOfResponsibility.dsw
.....................\Main.cpp
.....................\Support.cpp
.....................\Support.h
Composite
.........\Composite.dsp
.........\Composite.dsw
.........\Entry.cpp
.........\Entry.h
.........\Main.cpp
Decorator
.........\Decorator.cpp
.........\Decorator.dsp
.........\Decorator.dsw
.........\Decorator.h
.........\Main.cpp
Facade
......\Facade.cpp
......\Facade.dsp
......\Facade.dsw
......\Facade.h
......\maildata.txt
......\Main.cpp
Factory Method
..............\Factory Method.dsp
..............\Factory Method.dsw
..............\Factory.cpp
..............\Factory.h
..............\Main.cpp
..............\Product.cpp
..............\Product.h
Flyweight
.........\big-.txt
.........\big0.txt
.........\big1.txt
.........\big2.txt
.........\big3.txt
.........\big4.txt
.........\big5.txt
.........\big6.txt
.........\big7.txt
.........\big8.txt
.........\big9.txt
.........\Flyweight.cpp
.........\Flyweight.dsp
.........\Flyweight.dsw
.........\Flyweight.h
.........\Main.cpp
Iterator
........\Book.cpp
........\Book.h
........\Iterator.cpp
........\Iterator.dsp
........\Iterator.dsw
........\Iterator.h
........\Main.cpp
Memento
.......\Main.cpp
下载说明:请别用迅雷下载,失败请重下,重下不扣分!