Microsoft DirectX 8.1 (C++) |
Converts a given string to an integer.
Syntax
int WINAPI atoi(
const TCHAR *sz
);
Parameters
sz
Pointer to a source character string.
Return Value
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 wide-character and ANSI strings.
See Also