Integers of Unlimited Size?

Sep 24, 2012 at 10:47pm
closed account (N36fSL3A)
Hello, Fredbill30 here!

I was just wondering if it is possible to make Integers of unlimited size in C/C++. That's all, bye.
Sep 25, 2012 at 12:06am
The closet you could get would be
1
2
unsigned long VarName;
unsigned long long VarName
Last edited on Sep 25, 2012 at 12:24am
Sep 25, 2012 at 12:14am
@Need4Sleep
The closet you could get without using special library's(<limits>) would be
unsigned long VarName;


C/C++ have integer types long long and unsigned long long.
and I have not understood what did you mean "without using special library's (<limits>)"? Does this "special library" influence anyway on integral types?
Sep 25, 2012 at 12:22am
closed account (N36fSL3A)
I'd like to know the same thing Need4Sleep.
Sep 25, 2012 at 12:25am
I really do need some sleep, my brain was thinking of calculus limits that can represent infinity at points. Fixed my post, appreciate the clarification .
Sep 25, 2012 at 12:34am
everything is possible with C/C++

Python does has int type that has no limit (in fact, it depends on your RAM-128KB or 32GB), and Python is written in C.
Sep 25, 2012 at 12:45am
@Need4Sleep limits do not represent infinity at a given point.
Topic archived. No new replies allowed.