Hi,
We are trying to convert a string that has an IP address that we have taken the dots out of. So the string is now
"##########" (10 characters long where # = 0-9). we want to convert it to be some type of integer. we seem to run into overflow.
we tried:
longResult = atol(inputString.c_str());
but we get overflow. we think that the atol function must use an integer data type at some point in the conversion causing overflow, maybe?
If you have an idea we would love to hear about it.
Thanks for listening and more thanks for an answer.
Susan ( and son)