how to use large numbers in c++

how to use large numbers in c++

Most of the times , problems doesn’t involve number with range greater than that of unsigned long long int . Sometimes it does but that too in the cases which doesn’t involve much use of that number as a whole quantity (For example finding the factorial of a number https://discuss.codechef.com/questions/7349/computing-factorials-of-a-huge-number-in-cc-a-tutorial ) .

If such a problem is given , you can use BigInteger in java .

If you only want to store them How can I store very very large integers accurately? - faq - CodeChef Discuss

Please refrain from asking duplicate questions. It might lead to downvote from other members.