power function c++ for large numbers code example Example: create large integers with powers of 10 cpp int large_integer = pow(10, 7);