std::atoi

std::atoi, std::atol, std::atoll

Defined in header <cstdlib>
int       atoi( const char *str );
long      atol( const char *str );
long long atoll( const char *str );
(since C++11)

Interprets an integer value in a byte string pointed to by str.

Discards