摘要: CString Mid( int nFirst, int nCount ) const; 此成员函数从此CString对象中提取一个长度为nCount个字符的子串,从nFirst(从零开始的索引)指定的位置开始。此函数返回一个对所提取的字符串的拷贝。 阅读全文
posted @ 2016-03-24 23:35 霓裳依旧 阅读(2010) 评论(0) 推荐(2)
摘要: 类CRect是对Windows结构RECT的封装,凡是能用RECT结构的地方都可以用CRect代替。 结构RECT表示一个矩形的位置和尺寸,其定义为: typedef struct tagRECT{ LONG left; LONG top; LONG right; LONG bottom; } RE 阅读全文
posted @ 2016-03-21 22:24 霓裳依旧 阅读(180) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/whatforever/article/details/6316416 阅读全文
posted @ 2016-03-21 22:16 霓裳依旧 阅读(261) 评论(0) 推荐(0)
摘要: 将两个文件放入到同一个文件夹下 DOS下提供了FC命令 点击开始-》运行-》输入cmd,进入DOS下,进入指定目录,输入FC a.txt b.txt进行比较,下面会显示出之间的差异 阅读全文
posted @ 2016-03-20 00:15 霓裳依旧 阅读(752) 评论(0) 推荐(0)
摘要: http://www.zhihu.com/question/22553761 阅读全文
posted @ 2016-03-19 16:17 霓裳依旧 阅读(251) 评论(0) 推荐(0)
摘要: CString gray("Gray");CString cat("Cat");CString graycat = gray + cat;与其用 sprintf() 函数或 wsprintf() 函数来格式化一个字符串,还不如用 CString 对象的Format()方法:CString s;s.F... 阅读全文
posted @ 2016-01-04 10:52 霓裳依旧 阅读(150) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/sstower/article/details/7714199 阅读全文
posted @ 2016-01-04 10:26 霓裳依旧 阅读(241) 评论(0) 推荐(0)
摘要: AfxMessageBox(_T("edit change msg"));OutputDebugString(L"jian ");CString str; str.Format(_T("%ld"), 111); MessageBox(str);int a = m_Edittxt->Get... 阅读全文
posted @ 2015-12-29 22:36 霓裳依旧 阅读(187) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2015-12-08 23:28 霓裳依旧 阅读(2) 评论(0) 推荐(0)
摘要: 进入node.js command prompt 命令窗口node D:\demo.js(js文件所在的位置)浏览器打开http://127.0.0.1:8899/ 阅读全文
posted @ 2015-11-28 00:03 霓裳依旧 阅读(121) 评论(0) 推荐(0)