convert unsigned long to string c++
//You can use stringstream else...
#include <sstream>
template <class T>
inline std::string to_string (const T& t)
{
std::stringstream ss;
ss << t;
return ss.str();
}
// You can convert any value to string by creating another variable and
// importing your other non-string variable
string to_string (unsigned long val);