Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) AnsiIsInt

 

AnsiIsInt is a check code snippet to see if an AnsiString can be converted to an integer.

 

///AnsiIsInt return if an AnsiString can be converted to an integer
///From http://www.richelbilderbeek.nl/CppAnsiIsInt.htm
bool AnsiIsInt(const AnsiString& s, int& rInt)
{
  return TryStrToInt(s, rInt);
}

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict