摘要: int转化为string 1、使用itoa(int to string) 注意:itoa并不是一个标准的C函数,它是Windows特有的,如果要写跨平台的程序,请用sprintf。 2、使用sprintf 3、使用stringstream 可以这样理解,stringstream可以吞下不同的类型,根 阅读全文
posted @ 2019-06-24 05:45 夜半歌声断 阅读(598) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2019-06-24 05:04 夜半歌声断 阅读(1) 评论(0) 推荐(0) 编辑