I have a string that represents an hexadecimal number: std::string hex = "3371";. I want to convert it to a char array: char hex[2] {0x33, 0x71};.
確定! 回上一頁