搜索资源列表
DesignPattern
- 《大话设计模式》之一: C++实现源码,主要包括: 1、简单工厂模式 2、工厂方法模式(提供通用实现方法,可以直接复用) 3、抽象工厂模式(利用反射,并提供反射源码,可以直接拿来复用) 4、迭代器模式 5、单例模式(支持线程安全) 6、状态模式(游戏中常用模式) 7、策略模式 8、模板方法模式 9、责任链模式 10、装饰模式-hello world
bestfitted-line
- 根据所给的点的坐标算出最拟合曲线的公式,并根据原来的x值算出新的y值。并将数据储存到一个data文件-A C++ programme finds the best-fitted straight line to the x and y values, and then writes the original x, y values and the new y values on the line (for each x) to a data file. X: 1.0000 2.0000