strtoi函数用法讲解(
C语言strtol()函数用法? -
描述C 库函数long int strtol(const char *str, char **endptr, int base) 把参数str 所指向的字符串根据给定的base 转换为一个长整数(类型为long int 型),base 必须介于2 和36(包含)之间,或者是特殊值0。strtol() 函数的声明long int strtol(const char *str, char **end好了吧!
描述C 库函数long int strtol(const char *str, char **endptr, int base) 把参数str 所指向的字符串根据给定的base 转换为一个长整数(类型为long int 型),base 必须介于2 和36(包含)之间,或者是特殊值0。strtol() 函数的声明long int strtol(const char *str, char **end好了吧!