您当前的位置: 首页 >  c++

txwtech

暂无认证

  • 5浏览

    0关注

    813博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

vc2015/2010整型转字符串-字符串转整型 vc++

txwtech 发布时间:2019-01-08 22:47:41 ,浏览量:5

CString str; str.Format(_T("%d"),number1);//整型转字符串 AfxMessageBox(d);

 

CString str="222";

int num1 = _ttoi(_T("123"));//字符串转整型

int num1=_ttoi(str);

关注
打赏
1665060526
查看更多评论
立即登录/注册

微信扫码登录

0.1728s