Aimy
摘要: 1 /** 2 * 3 * 文件名称:singleton.cpp 4 * 文件标识:见配置管理说明书 5 * 摘 要:单例模式演示 6 * 7 * 版 本:1.0 8 * 作 者:luwei 9 * 完成日期:12-12-610 *11 **/12 #include <iostream>13 14 using std::cout;15 using std::cin;16 using std::endl;17 18 // 单例模式 Singleton 类19 class Singleton{20 public:21 // 获得一个实例,必须为静态成... 阅读全文
posted @ 2012-12-06 21:36 一只小小的菜鸟1 阅读(221) 评论(0) 推荐(0) 编辑