std::to_string() was introduced to the standard library with C++11.
If your compiler supports the latest standard, find out how to enable it.
For example, for GCC you can pass -std=c++11 to enable it.
I am not entirely familiar with VC++, but I'm sure its equivalent setting is as simple as any other.
|