bool convertHexStringToInt(char* pstrHex, unsigned long* pResult) { if(sscanf(pstrHex, “%x”, pResult) == 0) return false; else return true; }
时间: 2024-10-13 11:56:29
bool convertHexStringToInt(char* pstrHex, unsigned long* pResult) { if(sscanf(pstrHex, “%x”, pResult) == 0) return false; else return true; }