《HeadFirst设计模式》策略模式c++实现

上传者: captainwong | 上传时间: 2023-11-12 08:03:57 | 文件大小: 71KB | 文件类型: ZIP
策略模式: 定义了算法族,分别封装起来,让它们之间可以互相替换,此模式让算法的变化独立于使用算法的客户。 The Strategy Pattern defines a family of algorithms, encapsulates each one, and makes interchangeable. Strategy lets the algorithm vary independently from clients that use it.

文件下载

资源详情

[{"title":"( 20 个子文件 71KB ) 《HeadFirst设计模式》策略模式c++实现","children":[{"title":"Strategy","children":[{"title":"stdafx.cpp <span style='color:#111;'> 19B </span>","children":null,"spread":false},{"title":"Release","children":[{"title":"Strategy.exe <span style='color:#111;'> 52.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"FlyWithWings.cpp <span style='color:#111;'> 520B </span>","children":null,"spread":false},{"title":"FlyBehavior.cpp <span style='color:#111;'> 442B </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 86B </span>","children":null,"spread":false},{"title":"Strategy.plg <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false},{"title":"Duck.h <span style='color:#111;'> 638B </span>","children":null,"spread":false},{"title":"Strategy.dsw <span style='color:#111;'> 539B </span>","children":null,"spread":false},{"title":"FlyBehavior.h <span style='color:#111;'> 558B </span>","children":null,"spread":false},{"title":"FlyWithRocket.cpp <span style='color:#111;'> 536B </span>","children":null,"spread":false},{"title":"FlyNoWay.cpp <span style='color:#111;'> 481B </span>","children":null,"spread":false},{"title":"FlyWithWings.h <span style='color:#111;'> 614B </span>","children":null,"spread":false},{"title":"FlyNoWay.h <span style='color:#111;'> 582B </span>","children":null,"spread":false},{"title":"Strategy.ncb <span style='color:#111;'> 65.00KB </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 378B </span>","children":null,"spread":false},{"title":"Strategy.dsp <span style='color:#111;'> 4.97KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"Strategy.exe <span style='color:#111;'> 192.05KB </span>","children":null,"spread":false}],"spread":false},{"title":"FlyWithRocket.h <span style='color:#111;'> 623B </span>","children":null,"spread":false},{"title":"Duck.cpp <span style='color:#111;'> 943B </span>","children":null,"spread":false},{"title":"Strategy.opt <span style='color:#111;'> 55.50KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明