try pow(10.0, 12.0). Better yet, #include math.h.
To clarify: If you don't include math.h, the compiler assumes that pow() returns an integer. Including math.h brings in a prototype like
double pow(double, double);
So the compiler can understand how to treat the arguments and the return value.