int ClassName::string2int(CString s)
{
return _ttoi(s);
}
double ClassName::string2Double(CString s)
{
return _ttof(s);
}
long ClassName::hexString2int(CString hexString)
{
return _tcstol(hexString, NULL, 16);
}
沒有留言:
張貼留言