How do I convert a long to a string in C++?
long
string
Check out std::stringstream.
std::stringstream