沒有未定義的行為( atoi 家族可能會有這種情況); 一個比 strtol 更嚴格的整數定義( ... assert(str2int(&i, "11", 16) == STR2INT_SUCCESS); assert(i == 17); /* 0 ...
確定! 回上一頁