Integers of Unlimited Size?

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.
The closet you could get would be
1
2
unsigned long VarName;
unsigned long long VarName
Last edited on
@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?
closed account (N36fSL3A)
I'd like to know the same thing Need4Sleep.
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 .
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.
@Need4Sleep limits do not represent infinity at a given point.
Topic archived. No new replies allowed.