Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
StrToDouble is a code snippet to convert a std::string to double. DoubleToStr converts an double to std::string.
StrToDouble has multiple versions:
Uses std::atof.
#include <string> |
Uses boost::lexical_cast.
#include <string> |
Uses std::stod.
#include <string> |
#include <string> |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.