1:
CString str;
str.Format(
"%d",i);

2:
std::ostringstream os;
os 
<< i;
CString cstr_temp 
= os.str().c_str();
2 包含头文件 #include <sstream>

相关文章:

  • 2021-11-04
  • 2022-12-23
  • 2022-12-23
  • 2021-11-02
  • 2022-02-13
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-22
  • 2021-10-24
  • 2021-12-24
  • 2021-08-20
  • 2021-10-04
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案