2008年1月10日

Cstring 截获数据 2008-01-10 11:22 234人阅读 评论(0) 收藏

摘要: CString s=_T("125 12 30 " ); CString str[10]; DWORD nub = 0; DWORD nFind = 0; while(s.GetLength()) { nFind = s.Find(_T(" ")); str[nub] = s.Left(n... 阅读全文

posted @ 2008-01-10 11:22 Joyfulmath 阅读(87) 评论(0) 推荐(0) 编辑

CString DOWRD互转 2008-01-10 08:26 378人阅读 评论(0) 收藏

摘要: CString怎样转换成DOWRD#include "stdafx.h" #include #include int _tmain(int argc, _TCHAR* argv[]) { TCHAR szNum[]=_T("123456");//原字符 D... 阅读全文

posted @ 2008-01-10 08:26 Joyfulmath 阅读(119) 评论(0) 推荐(0) 编辑

截取字符串 2008-01-10 08:18 188人阅读 评论(0) 收藏

摘要: #include #include char *p = "//windows//win_dll.txt"; char ch = '//'; char *plast, *pfirst; plast = strrchr( p, ch )... 阅读全文

posted @ 2008-01-10 08:18 Joyfulmath 阅读(70) 评论(0) 推荐(0) 编辑

导航