how to compute powers of large numbers in c++ code example Example: create large integers with powers of 10 cpp int large_integer = pow(10, 7);