语法:
#include <cstdlib> unsigned long strtoul( const char *start, char **end, int base );
函数 strtoul() 和 strtol() 的行为非常类似,除了它返回一个无符号长整型而非长整型,并且溢出时它返回 ULONG_MAX。
相关主题: strtol