could not convert '1' from 'int' to 'std::string in c++ code example Example: convert integer to string c++ std::to_string(23213.123)