Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
Code snippets to convert a certain data type to another one.
Check code snippets check if (these) conversion can be succesfull.
- boost::lexical_cast, convert std::string to any data type
- boost::lexical_cast, convert std::string to double
- boost::lexical_cast, convert std::string to integer
- CliToInt, convert cln::cl_I to integer
- CliToStr, convert cln::cl_I to std::string
- ContainerToStr, convert a container to a std::string
- Convert AnsiString to double
- Convert AnsiString to integer
- Convert AnsiString to lower case
- Convert AnsiString to std::string
- Convert AnsiString to upper case
- Convert AnsiString to WideString
- Convert cln::cl_I to integer, CliToInt
- Convert cln::cl_I to std::string, CliToStr
- Convert container to a std::string, ContainerToStr
- Convert double to AnsiString
- Convert double to std::string
- Convert Gray code to int, GrayToInt
- Convert int to a std::string of zeroes and ones, IntToBitString
- Convert integer to AnsiString, IntToAnsi
- Convert integer to cln::cl_I, SafeIntToCli
- Convert int to Gray code, IntToGray
- Convert integer to QString, IntToQtStr
- Convert integer to std::string, IntToStr
- Convert integer to std::string with adding thousands seperators, IntToStrWithSep
- Convert integer to Wt::WString, IntToWString
- Convert Matrix<X> to Matrix<Y>, ConvertMatrix
- Convert QString to int, QtStrToInt
- Convert RGB values to TColor
- Convert std::string to AnsiString
- Convert std::string to any data type, boost::lexical_cast
- Convert std::string to any data type, LexicalCast
- Convert std::string to double, boost::lexical_cast
- Convert std::string to double, LexicalCast
- Convert std::string to double, ToDouble
- Convert std::string to integer, boost::lexical_cast
- Convert std::string to integer, LexicalCast
- Convert std::string to integer, ToInt
- Convert std::string to lower case
- Convert std::string to upper case
- Convert std::vector<X> to std::vector<Y>, ConvertVector
- Convert std::string to WideString
- Convert std::string to Wt::WString, StrToWStr
- Convert std::time_t to std::string
- Convert std::vector<std::vector<X> > to std::vector<std::vector<Y> >, ConvertMatrix
- Convert TColor to RGB values
- Convert TImage to TStringList (ASCII art)
- Convert two 2D std::vector<X> to 2D std::vector<Y>, ConvertMatrix
- Convert WideString to AnsiString
- Convert WideString to double
- Convert WideString to integer
- Convert WideString to std::string
- Convert Wt::WString to int, WStringToInt
- Convert Wt::WString to std::string, WStrToStr
- ConvertMatrix, convert Matrix<X> to Matrix<Y>
- ConvertMatrix, convert std::vector<std::vector<X> > to std::vector<std::vector<Y> >
- ConvertMatrix, convert two 2D std::vector<X> to 2D std::vector<Y>
- ConvertVector, convert std::vector<X> to std::vector<Y>
- GrayToInt, convert Gray code to int
- IntToBitString, convert int to a std::string of zeroes and ones
- IntToGray, convert int to Gray code
- IntToQtStr, convert integer to QString
- IntToStr, convert integer to std::string
- IntToStrWithSep: convert int to std::string with adding thousands seperators
- IntToWString, convert integer to Wt::WString
- lexical_cast, boost::lexical_cast, convert std::string to any data type
- lexical_cast, boost::lexical_cast, convert std::string to double
- lexical_cast, boost::lexical_cast, convert std::string to integer
- LexicalCast, convert std::string to any data type
- LexicalCast, convert std::string to double
- LexicalCast, convert std::string to integer
- QtStrToInt, convert QString to int
- SafeIntToCli, convert int to cln::cl_I
- StrToWStr, convert std::string to Wt::WString
- ToDouble, convert std::string to double
- ToInt, convert std::string to integer
- WStringToInt, convert Wt::WString to int
- WStrToStr, convert Wt::WString to std::string
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.
