上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 38 下一页
http://blog.163.com/toplcx@yeah/blog/static/9266738320105245589411/ Read More
posted @ 2011-06-23 16:23 BloodAndBone Views(209) Comments(0) Diggs(0) Edit
setlocale 与 mbstowcs 的问题 Qiang Post in编程,Tags:c++,i18n 21 五月 2010 0 1 问题 2 原因 3 解 4 引申 1问题 在 Windows XP 多语言... Read More
posted @ 2011-06-21 15:08 BloodAndBone Views(1418) Comments(0) Diggs(0) Edit
一。CString.format用法 format指定输出格式,后面跟要输出的变量目前printf支持以下格式:%c 单个字符%d 十进制整数%f 十进制浮点数%o 八进制数%s 字符串%u 无符号十进制数%x 十六进制数%% 输出百分号%一个格式说明可以带有几个修饰符,用来指定显示宽度,小数尾数及... Read More
posted @ 2011-05-12 14:16 BloodAndBone Views(888) Comments(0) Diggs(0) Edit
对于普通类型的对象来说,它们之间的复制是很简单的,例如:int a=88;int b=a; 而类对象与普通对象不同,类对象内部结构一般较为复杂,存在各种成员变量。下面看一个类对象拷贝的简单例子。 #include using namespace std;class CExample... Read More
posted @ 2011-05-10 22:06 BloodAndBone Views(694) Comments(0) Diggs(0) Edit
引用 小甜鼠的 CTreeCtrl中用右键选中item并弹出菜单的方法 在csdn上看了几篇文章,自己正好派上用场,总结一下: //获取到鼠标点中的位置 POINT pt; GetCursorPos(&pt); UINT uFlags; //将屏幕坐标转化为客户区坐标 Screen... Read More
posted @ 2011-05-04 10:48 BloodAndBone Views(593) Comments(0) Diggs(0) Edit
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 38 下一页