LONG val = 0; sscanf_s("1000, "%x", &val); //可以得到val=4096 val = val+3; char dst[4] = {0} ::itoa(val , dst , 16); //dst就是1003的字串了.
確定! 回上一頁