2016-09-28 demon7452
策略模式-Strategy Pattern GitHub源码 定义 The Strategy Pattern defines a family of algorithms(演算法;运算法则;),encapsulates( 总结; 扼要概括; ) each one,and makes them interchangeable(可交换的;可交替的;).Strategy lets the algorithm vary independently from clients that use it. 继续阅读 »
2013-04-06 Robert Zhang
分析:运算时产生的大数可能会使32位整数溢出,需要使用64位的整数类型more ```cpp include include ifdef DEBUG include "../comm_headers/debug_helper.h" else define DEBUG_OUT(...) endif 继续阅读 »