C++官网参考链接:https://cplusplus.com/reference/cstdlib/strtoull/
函数
<cstdlib>
strtoull
unsigned long long int strtoull (const char* str, char** endptr, int base);
将字符串转换为unsigned long long整数
解析C字符串str,将其内容解释为指定base的整数,该整数作为unsigned long long int类型的值返回。如果endptr不是空指针,该函数还将endptr的值设置为指向数字后面的第一个字符。
此函数用于解释字符串的操作与strtol类似,但生成unsigned long long int类型的数字(有关解释过程的详细信息,请参阅strtol)。
形参
str
以整数表示开始的C字符串。
endptr
对char*类型对象的引用,其值由函数设置为