// a collection of functions that convert from int/double/vector to string #ifndef TO_STRING_H #define TO_STRING_H #include #include // returns a string version of the given int std::string int_to_string(int n); // returns a string version of the given double std::string double_to_string(double n); // returns a string version of the given vector as a comma-separated, // bracketed, list std::string vector_to_string(const std::vector & v); #endif