1 c++
我希望在c ++中从int转换为char(或字符串).
Cat*_*lus 8
除了stringstream直接使用,您还可以使用boost::lexical_cast:
stringstream
boost::lexical_cast
std::string x = boost::lexical_cast<std::string>(42);
归档时间:
15 年 前
查看次数:
382 次
最近记录: