Values Larger Than 4,294,967,295
It's been a while since I've done anything with C++, so please excuse me if this question seems a little "slow".
Is there an intrinsic way to store values larger than 4,294,967,295? That is, is there a data type that will hold integers (not floating-point numbers) larger than an unsigned long int?
I remember back in high school days I had to write a class called "HugeInt" that would do something such as this, but I'm trying to stay away from object orientation, as I'd like my implementation to be portable to non-OO languages, such as C.
(Cross-posted to
cpp,
cparker.)
Is there an intrinsic way to store values larger than 4,294,967,295? That is, is there a data type that will hold integers (not floating-point numbers) larger than an unsigned long int?
I remember back in high school days I had to write a class called "HugeInt" that would do something such as this, but I'm trying to stay away from object orientation, as I'd like my implementation to be portable to non-OO languages, such as C.
(Cross-posted to
cpp,