设计模式学习--组合模式,c++代码
摘要:
下面是组合模式的UML类图: //composite.h#ifndef _COMPOSITE_H_#define _COMPOSITE_H_#include using namespace std;/*Component 抽象基类,为组合中的对象声明接口,声明了类共有接口的缺省行为... 阅读全文
posted @ 2014-10-24 21:26 吴一达 阅读(168) 评论(0) 推荐(0)
posted @ 2014-10-24 21:26 吴一达 阅读(168) 评论(0) 推荐(0)