Tuesday, August 7, 2007

Handling big numbers in c or c++

When i say big numbers i mean very big numbers. Numbers with digits near or in excess of 100.
We know that the greatest number you can enter is by using long double.
But there is a way to handle the biggest numbers : lets say the factorial of 100.
The solution is strings. You can use strings to input numbers and even create functions to perform operations on them just like on normal numbers. I am in the process of creating theses functions. Will post them as soon as they are ready.

No comments: