标签:
int GetValue( char* strInValue,char* strOutValue )
{
if (NULL == strInValue || NULL == strOutValue) {
return -1;
}
int result;
sscanf(strInValue, "%x", &result);
sprintf(strOutValue, "%d", result);
return 0;
}
标签:
原文地址:http://www.cnblogs.com/zdygo/p/5827360.html