Where_Free

羸弱 无知 自大 懒惰

C++基础笔记(int转string)

int a = 23;
stringstream ss;
ss << a;
string s1 = ss.str();

  头文件需添加#include "sstream"

posted on 2018-10-04 22:04  Where_Free  阅读(152)  评论(0编辑  收藏  举报

导航