c/c++ 語言用stdlib.h 裡的strtol函式,就可以了,第三個引數用16。 ... 用法: long strtol(char *str, char **endptr, int base);.
確定! 回上一頁