Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
ToInt is a convert code snippet to convert std::string to int.
LexicalCast and boost::lexical_cast are more general then ToInt and convert a std::string to any data type.
#include <string> |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.