把握命运,追逐梦想

对自己所做的事要有兴趣,同时还要能够坚持不懈

统计

留言簿(1)

阅读排行榜

评论排行榜

数、字符、字符串的各种转换方法

//第一种方法,使用sprintf系列函数
swprintf(buf,L"the char is %d",integer);
sprintf(buf,
"the char is %d",integer);
//第二种方法
CString str;
str.Format(
"5+3=%d",99);
MessageBox(str);

(先写几种,以后慢慢积累补充)

posted on 2009-08-11 23:32 把握命运 阅读(79) 评论(0)  编辑 收藏 引用


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理