CString d; d.Format(_T("%d"),c);//整型转字符串 AfxMessageBox(d); int e = _ttoi(_T("123"));//字符串转整型
VC2010中整数转成字符串
原创
©著作权归作者所有:来自51CTO博客作者Chinayu2014的原创作品,请联系作者获取转载授权,否则将追究法律责任
上一篇:VS2010常用快捷键
下一篇:MFC日期与字符串相互转换
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
java中字符串拼接的多种方式
java中字符串拼接的多种方式
java 字符串拼接