[quote]
Hi,
what's
code:--------------------------------------------------------------------------------
strtol();
--------------------------------------------------------------------------------
and in what headerfile is it?
I've never heared about it.
[/qoute]
atoi
Convert strings to integer atoi.
int atoi( const char *string );
Routine Required Header Compatibility
atoi <stdlib.h> ANSI, Win 95, Win NT
vs.
strtol
Convert strings to a long-integer value.
long strtol( const char *nptr, char **endptr, int base );
Routine Required Header Compatibility
strtol <stdlib.h> ANSI, Win 95, Win NT
I hope this helps!