The largest int data type available in C++ is uint64_t. You can also call it unsigned long long or __hyper. However, this type is still limited. It will only go up to 2^64-1. There are complicated methods you can use to do calculations with large numbers, but using gmp would be easier.