Chinaunix首页 | 论坛 | 博客
  • 博客访问: 434002
  • 博文数量: 67
  • 博客积分: 2468
  • 博客等级: 上尉
  • 技术积分: 1050
  • 用 户 组: 普通用户
  • 注册时间: 2011-01-05 01:21
文章分类

全部博文(67)

文章存档

2013年(1)

2012年(65)

2011年(1)

分类: C/C++

2012-09-24 20:17:35


creational:
factory        &fruit
builder        &car
prototype    &circle
singleton    &configurefile

structural:
adapter        &CCircle借用一下XCircle的显示操作
bridge        &draw_lib
composite    & a student, a group of students, teacher. tree .
decorator    &child eat
facade         &compiler
flyweight    &bookinfo of library
proxy        &CBuyerProxy

behavioral:
chainofresponsibility    &a child want to eat apple, mom, father, grandmother,,,
command        &Invoker
interpreter    &
iterator    &STL arraylist : an array + cnt
mediator    &colleague A B C
memento        &originator memento
observer    &officeDoc
state        &trafficLight
strategy    &debug, showstrategy-logstrategy
template method &catch MM
visitor        &element and visitor

 设计模式(C++)源代码 一雨田.rar  







阅读(943) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~