摘要:
// test06.cpp : Defines the entry point for the console application.////设计模式第5章 命令模式#include "stdafx.h"#include <string>#include <iostream>using names 阅读全文
摘要:
// test05.cpp : Defines the entry point for the console application.//#include "stdafx.h"//设计模式第5章 单件模式class Singleton{private: static Singleton* uniq 阅读全文
摘要:
// test04.cpp : Defines the entry point for the console application.////设计模式第4章 工厂模式#include "stdafx.h"#include <string>#include <vector>#include <ios 阅读全文
摘要:
// test03.cpp : Defines the entry point for the console application.////设计模式第3章 装饰者模式#include "stdafx.h"#include <string>#include <iostream>//#include 阅读全文
摘要:
// test02.cpp : Defines the entry point for the console application.////设计模式第2章 观察者模式#include "stdafx.h"#include <vector>using namespace std;class Obs 阅读全文
摘要:
// test01.cpp : Defines the entry point for the console application.////第一章,设计模式入门,策略模式#include "stdafx.h"#include "test01.h"class FlyBehavior{public: 阅读全文