cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Working with large digited numbers
Working with large digited numbers
Jan 30, 2012 at 6:59pm UTC
swarage
(8)
Hello!
There may be multiple threads on this topic, but i have not been successful in finding any of those threads, here and when I looked up the topic. So the question is this : how does one work with numbers up to 1000 digits in C++?
thanks in advance
--SD
Jan 30, 2012 at 7:01pm UTC
webJose
(2948)
http://gmplib.org/
. I hear is one of the best. Never used it, though.
Jan 30, 2012 at 7:23pm UTC
swarage
(8)
thanks
Jan 30, 2012 at 8:44pm UTC
swarage
(8)
actually, that didn't work, anything else?
Jan 30, 2012 at 8:46pm UTC
Peter87
(11254)
Why didn't it work?
Jan 31, 2012 at 2:36am UTC
Cubbi
(4774)
I second GNU MP. Make sure you're using the C++ interface:
http://gmplib.org/manual/C_002b_002b-Class-Interface.html#C_002b_002b-Class-Interface
Jan 31, 2012 at 4:03am UTC
Duthomhas
(13282)
An easier library to work with is
http://www.ttmath.org/ttmath
Feb 4, 2012 at 4:59pm UTC
swarage
(8)
thanks to all, but i found a ibrary called BigInteger which works great
Topic archived. No new replies allowed.