会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
fantiejun0436
2013年12月9日
_T("")
摘要: _T("")是一个宏,他的作用是让你的程序支持Unicode编码。
阅读全文
posted @ 2013-12-09 13:06 fantiejun0436
阅读(141)
评论(0)
推荐(0)
CString 字符串截取_函数
摘要: CStringres;CStringstr=_T("abcdefghijklmn");res=str.Mid(2,3);//从第3位字母开始,共取3个字符ASSERT(res==_T("cde"));res=str.Left(3);//从左边数起,共取3个字符ASSERT(res==_T("abc"));res=str.Right(3);//从右边数起,共取3个字符ASSERT(res==_T("lmn"));res=str.SpanIncluding(_T("edcba"));//遇到参数里没
阅读全文
posted @ 2013-12-09 13:05 fantiejun0436
阅读(464)
评论(0)
推荐(0)
使用VC获取字符串的长度
摘要: 字符串长度
阅读全文
posted @ 2013-12-09 10:59 fantiejun0436
阅读(407)
评论(0)
推荐(0)
sprintf()函数,把数字转换成字符串
摘要: char str_2[10]; int a=1234321; sprintf(str_2,"%d",a);
阅读全文
posted @ 2013-12-09 10:49 fantiejun0436
阅读(1539)
评论(0)
推荐(0)
导航
博客园
首页
新随笔
联系
订阅
管理
公告