
常用封装类
文章平均质量分 52
低调的汉子
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
c++ 单例模式
/** 单例模式类 */ class Csingle; Csingle* Csingle::m_pSingleInstence = NULL; class Csingle { public: static Csingle* GetInstance() { if (m_pSingleInstence == NULL) { m_pSingleInstence = new Cs原创 2016-07-30 14:23:06 · 268 阅读 · 0 评论 -
线程对象
#ifndef CTHREADEX_H #define CTHREADEX_H #include class CThreadEx { public: CThreadEx(); ~CThreadEx(); bool startThread(); //启动线程 bool suspendThread(); //挂起 bool stopThread();//结束 virtual b原创 2016-07-13 11:59:46 · 281 阅读 · 0 评论