int hex = 10; std::string hexstring = stringFormat("%X", hex);. Take a look at SO answer from iFreilicht and the required template header-file from here GIST!
確定! 回上一頁