반응형
Converts a given string to an integer.
문자를 숫자형으로 컨버트하여 준다.
문자를 숫자형으로 컨버트하여 준다.
atoi
Converts a given string to an integer.
int WINAPI atoi( const TCHAR *sz);
Parameters
- sz
- Source character string.
Return Values
Returns the string's integer value.
Remarks
This version of atoi supports only decimal digits, and does not allow leading white space or signs. It supports both Unicode and ANSI strings. Other versions can vary.