C++ 設計模式之單例模式,工廠模式

//Singleton.h #ifndef _SINGLETON_H_ #define _SINGLETON_H_ #include <iostream> using namespace std; class Singleton { public: static Singleton* Instance(); protected: Singleton(); private: static Singl
相關文章
相關標籤/搜索