C++ int to Str

#include <iostream>
   int test =9;

   std::stringstream sid;
     sid << test;
      std::string test_str = sid.str();

猜你喜欢

转载自blog.csdn.net/w383117613/article/details/85461613