摘要:
1 #include <iostream> 2 3 class SingleTone 4 { 5 private: 6 int m_iProp; 7 8 public: 9 static SingleTone& GetInstance()10 {11 static SingleTone instance;12 return(instance);13 }14 15 void SetProp(int val)16 {17 m_iProp = val;18 }19 20 int GetProp() const21 {22 return (m_iProp);23 }24 25 pr 阅读全文
posted @ 2011-08-21 10:09
xiangwei
阅读(184)
评论(0)
推荐(0)

浙公网安备 33010602011771号