generated 60 seconds ago generated in 0.420 seconds served from batcache in 0.001 seconds expires in 240 seconds Not So Frequently Asked Questions FAQ, Tips & Tricks For Unix, Emacs And Other Useful Tools « Emacs – tabs C/C++ – GCC create a static library » by Rares Vernica In order to convert an int (or any other numeric type, e.g., float , double , etc.) to string , you can use: #include <sstream> int i = 5; std::string s; std::stringstream out; out << i; s = out.str(); Other C/C++ not so frequently asked questions. About these ads Like Loading... Related This entry was posted on August 30, 2006 at 12:01 pm and is filed under C/C++ . You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response , or trackback from your own site. You can start editing here. radu Says: October 13, 2006...