Possible Duplicate:
int to std::string?
How can you convert int to std::string?
you can use stringstream; stole this from here:
#include <iostream>
#include <sstream>
int main() {
  int number = 123;
  std::stringstream ss;
  ss << number;
  std::cout << ss.str() << endl;
}
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论