I am having some issues trying to convert a double to C++ string. Here is my code
std::string doubleToString(double val) { std::ostringstream out; ou
You can also set the minimum width and fill char with STL IO manipulators, like:
out.width( 9 ); out.fill( ' ' );