Run-Time Library Reference atoi, _atoi_l, _wtoi, _wtoi_l Convert a string to integer. int atoi( const char *str ); int _wtoi( const wchar_t *str ); int _atoi_l( const char *str, _locale_t locale ); int _wtoi_l( const wchar_t *str, _locale_t locale ); Parameters str String to be converted. locale Locale to use. Return Value Each function returns the int value produced by interpreting the input ch..