C++ Daily 《4》----一个简单的 int to string 的方法
摘要:
经常会在项目中用到 int to string, 之前一般用C语言的 sprintf, 发现C++ 中的 ostringstream 可以轻松完成这个任务。#include #include #include using namespace std;int main(void){ ostrings... 阅读全文
posted @ 2014-04-29 16:31
L_J_SHOU
阅读(158)
评论(0)
推荐(0)