:: :: 博问 :: 闪存 :: :: 联系 :: :: 管理 ::
1:
CString str;
str.Format(
"%d",i);

2:
std::ostringstream os;
os 
<< i;
CString cstr_temp 
= os.str().c_str();
2 包含头文件 #include <sstream>
posted on 2006-05-09 17:21  dtor  阅读(720)  评论(2编辑  收藏  举报