摘要: 笔试题:不使用中间变量求const字符串长度,即实现求字符串长度库函数strlen函数。函数接口声明如下:int strlen(const char *p);http://soft.chinabyte.com/database/23/12414523.shtml 阅读全文
posted @ 2014-10-09 14:12 kira2will 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 转自:http://blog.csdn.net/ipqxiang/article/details/1955677一、抽象工厂(Abstract Factory)模式抽象工厂模式是所有形态的工厂模式中最为抽象和最具一般性的一种形态。为了方便引进抽象工厂模式,引进一个新概念:产品族(Product Fa... 阅读全文
posted @ 2014-10-09 13:27 kira2will 阅读(353) 评论(0) 推荐(0) 编辑