Jump to content

C++ Programming/Code/Standard C Library/Functions/strtoul

From Wikibooks, open books for an open world

strtoul

[edit | edit source]
Syntax
#include <cstdlib>
unsigned long strtoul( const char *start, char **end, int base );

The function strtoul() behaves exactly like strtol(), except that it returns an unsigned long rather than a mere long.

Related topics
strtol