摘要: //单例模式#include <iostream>using namespace std;class Singleton{public: static Singleton* Instance(); protected: Singleton() {} private: static Singleton* _instance;};Singleton* Singlet... 阅读全文
posted @ 2012-10-11 20:28 涵曦 阅读(793) 评论(0) 推荐(0) 编辑