C/C++官网,再也不用担心找不到文档了。http://www.cplusplus.com/reference/clibrary/
头文件: stdlib.h
-
atof
- Convert string to double (function )
double atof ( const char * str );
-
atoi
- Convert string to integer (function )
int atoi ( const char * str );
-
atol
- Convert string to long integer (function )
long int atol ( const char * str );
-
atoll
- Convert string to long long integer (function )
long long int atoll ( const char * str );
-
strtod
- Convert string to double (function )
double strtod ( const char * str, char ** endptr );
-
strtof
- Convert string to float (function )
float strtof ( const char * str, char ** endptr );
-
strtol
- Convert string to long integer (function )
long int strtol ( const char * str, char ** endptr, int base );
-
strtold
- Convert string to long double (function )
long double strtold ( const char * str, char ** endptr );
-
strtoll
- Convert string to long long integer (function )
long long int strtoll ( const char * str, char ** endptr, int base );
-
strtoul
- Convert string to unsigned long integer (function )
unsigned long int strtoul ( const char * str, char ** endptr, int base );
-
strtoull
- Convert string to unsigned long long integer (function )
unsigned long long int strtoull ( const char * str, char ** endptr, int base );