atoi, atol, atoll
cppreference.com
[] |
Google. . , . , . |
<metanoindex/>
<tbody> </tbody> <stdlib.h>
|
||
int atoi( const char *str ); |
||
long atol( const char *str ) |
||
long long atoll( const char *str ); |
( C99) | |
,
str., , . :
- ()
, .. , .
| str |
,
str . , . , 0 .:
Integer value corresponding to the contents of
str on success. If the converted value falls out of range of corresponding return type, the return value is undefined. If no conversion can be performed, 0 is returned.| : |
.
(C99) |
() |
(C99) |
() |
C++ atoi, atol, atoll
| |