C:/Opetus/CrossZero/CrossZeroStringUtils.h

stringToValue-function is template-function which is used to transform value which is encoded in string to real number.

std::string strMyValue = "123"; int iValue = 0; if(CrossZeroStringUtils::stringToValue(strMyValue,iValue)) std::cout<<"String is converted into value"; else { std::cout<<"String was not converted into value"; return; //error } std::cout<<"iValue is : "<<iValue; //Should print out 123


Generated on Sun Feb 24 23:08:25 2008 for CrossZero by  doxygen 1.5.5