Name
wcstol function — Converts a wide string to a long integer
Synopsis
long int wcstol(const wchar_t* str, wchar_t** end)
The wcstol
function
converts a wide string to long
int
. It is similar to the
strtol
function in <cstdlib>
.
See Also
wcstod function, wcstoul function, strtol
in <cstdlib>
Get C++ In a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.