How do I convert a long to a string in C++?
long
string
There are several ways. Read The String Formatters of Manor Farm for an in-depth comparison.