会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
stanley19861028
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
2014年12月6日
simple_factory
摘要: #include #include using namespace std;class Product{public: virtual ~Product() {} virtual int Interface()=0;};class ConcreteProductA : public Pr...
阅读全文
posted @ 2014-12-06 06:49 stanley19861028
阅读(203)
评论(0)
推荐(0)
2014年12月5日
Singleton
摘要: class Singleton{public: ~Singleton(); static Singleton* GetInstance();private: Singleton(); static Singleton* m_pInstance; static pthre...
阅读全文
posted @ 2014-12-05 10:16 stanley19861028
阅读(125)
评论(0)
推荐(0)
2014年11月25日
fltk_hello world
摘要: int main(int argc, char *argv[]){#define WINDOW_BG FL_BLACK#define WINDOW_WIDTH 640#define WINDOW_HEIGHT 480#define BOX_WIDTH 100#define BOX_HEIGHT 40...
阅读全文
posted @ 2014-11-25 11:59 stanley19861028
阅读(194)
评论(0)
推荐(0)
2014年11月21日
Check Big/Little Endian
摘要: Big/Little Endian
阅读全文
posted @ 2014-11-21 09:32 stanley19861028
阅读(161)
评论(0)
推荐(0)
2014年11月20日
Base64实现
摘要: class Base64{public: static string Encrypt(string sPlainText); static string Decrypt(string sCipherText);private: static int ConvertToIndex(u...
阅读全文
posted @ 2014-11-20 13:15 stanley19861028
阅读(187)
评论(0)
推荐(0)
上一页
1
2
3
公告