#include <iostream>
#include <string>#include <vector>#include <map>using namespace std; class singlgSys{ private: static singlgSys * pSingle; singlgSys(){}public: static singlgSys * getInstance() { if(NULL == pSingle) { pSingle = new singlgSys(); return pSingle; } return pSingle; }};