2013年6月1日

单件模式

摘要: 1 #include<iostream> 2 #include<string> 3 4 using namespace std; 5 6 class Singleton{ 7 8 public: 9 Singleton(){} 10 Singleton( const Singleton& ){} 11 ~Singleton(){} 12 13 public: 14 static bool CreateSingleton( void ); 15 static void ReleaseSingleton( v... 阅读全文

posted @ 2013-06-01 15:02 liyanfasd 阅读(150) 评论(0) 推荐(0) 编辑

导航