文章目录
- 参考
参考
stackoverflow: converting _int64 to a string,验证建议的代码可以成功地将_int64转换到string。
C++ 11的标准做法:
使用stringstream
:
使用C sprintf()
或者 _i64toa()
参考
stackoverflow: converting _int64 to a string
Microsoft Docs: _itoa, _i64toa, _ui64toa, _itow, _i64tow, _ui64tow