Click here to Skip to main content
15,892,480 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
how i can Create new datatype to contain big number like 10^100
Posted

If you can use .NET classes, there is the BigInteger[^] structure.
 
Share this answer
 
You can use this[^] public domain library that allows you to calculate big numbers in C++.
 
Share this answer
 
v2
Comments
Anderso0on 13-Apr-13 8:57am    
how i can use that in my project visual studio
[no name] 13-Apr-13 9:12am    
What do you mean? Did you read the documentation?
#include "BigIntegerLibrary.hh"

BigInteger a = 65536;
cout << (a * a * a * a * a * a * a * a);

(prints 340282366920938463463374607431768211456)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900