int int_value= 0;
sscanf(hex_str.c_str(), "%x", &reqtype);
#格式化字符串转换为数字# 如何将十六进制格式化的字符串转换为数字
最新推荐文章于 2020-09-28 16:47:07 发布
int int_value= 0;
sscanf(hex_str.c_str(), "%x", &reqtype);