首页 > 技术文章 > string 转 int,int 转 string
zhxshseu 2016-03-18 22:53 原文
char
buf[10];
sprintf
(buf,
"%d"
, 100);
string b = buf;