!!! STL的string类如何实现CString的Format功能 这是一个经典问题,记住

STL的string类如何实现CString的Format功能?+STL中将int转换为string
  这是一个经典问题,记住
  
  #include<sstream>
  
  std::CString itos(int arg)
  {
      std::ostringstream buffer;
      buffer << arg; // send the int to the ostringstream
      return buffer.str(); // capture the CString
  }
原文地址:https://www.cnblogs.com/carl2380/p/2086311.html