Exponent Function?

Is there a built in C++ function that will allow me to perform an exponent operation on items x^y? and not just exp(x) (an exponent of e)? I thought I might ask before trying to take a crack at it.
double pow(double,double) defined in cmath.
Do I simply invoke with double to begin with?
Uh...... What?
1
2
3
double a=8,
    b=.5,
    c=pow(a,b);
hah, sorry, I realise now that what I said made no sense.
Topic archived. No new replies allowed.