Re: longer than a long int?
If you're writing Windows code you could always use LARGE_INTEGER structure. Look it up it will give you 64bits wheter you like it or not.
Originally posted by fry
I have just come across a problem in my code. Im using 11 digit numbers in my program: ie 10000000001
I have had things go wrong in my code, and realised that i had exceeded the max length of an int. And a long int is too small as well.
Is there a simple way to create a variable that can store a number this large? The number may get to 12 or 13 digits long.