#include <sstream> std::stringstream sstream; sstream << std::hex << (my_char - 0); std::string result = sstream.str(); // result = hexadecimal string value ...
確定! 回上一頁