int x = strtol(hex.c_str(), NULL, 16);. You can also use sscanf if you want to read a partial string. You mentioned you might want to just take the first ...
確定! 回上一頁