Are there types bigger than long long int in C++?
Solution 1:
There is a gcc extension for 128 bit integers.
Solution 2:
No, but you can use libraries like GMP to handle bigger numbers.
Solution 3:
Depending on what your need is, you could create your own struct to handle the data type:
#include <cstdint>
struct uint256_t
{
std::uint64_t bits[4];
};
uint256_t x;