上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 38 下一页
//////////////////////////////////////////////////////////////////////////template<class _Tp>class adpmvector : protected vector<_Tp>{public: typedef _Tp value_type; typedef vector<_Tp>::iterator iterator; explicit adpmvector() {} ~adpmvector() { clear(); } void clear() { vector< Read More
posted @ 2012-05-15 16:45 BloodAndBone Views(145) Comments(0) Diggs(0) Edit
http://blog.sina.com.cn/s/blog_6719cf530100s80g.html 创建或打开工程Icon(以下都以工程名为Icon为例)。 单击Workspace窗口的ResourceView标签,选中资源ID为IDR_MAINFRAME图标资源,然后按Delete... Read More
posted @ 2011-09-30 11:22 BloodAndBone Views(5217) Comments(0) Diggs(0) Edit
http://blog.sina.com.cn/s/blog_4913c1f301000bip.html C struct 中字节对齐问题 规则: 1. 其实,这是VC对变量存储的一个特殊处理。为了提高CPU的存储速度,VC对一些变量的起始地址做了“对齐”处理。在默认情况下,VC规定各成员变量存放 ... Read More
posted @ 2011-09-09 11:45 BloodAndBone Views(1047) Comments(0) Diggs(0) Edit
http://blog.sina.com.cn/s/blog_46d93f190100ojap.html 在进行UDP编程的时候,我们最容易想到的问题就是,一次发送多少bytes好? 当然,这个没有唯一答案,相对于不同的系统,不同的要求,其得到的答案是不一样的,我这里仅对 像ICQ一类的发送聊天... Read More
posted @ 2011-09-08 15:24 BloodAndBone Views(5107) Comments(0) Diggs(0) Edit
关键字:MFC,字体,大小。 CFont cfont;cfont.CreateFont(16,//字体大小0,0,0,FW_NORMAL, FALSE,FALSE, 0, ANSI_CHARSET, // nCharSetOUT_DEFAULT_PRECIS,// nOutPrecisionCLI... Read More
posted @ 2011-08-02 10:18 BloodAndBone Views(538) Comments(0) Diggs(0) Edit
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 38 下一页