The "sqrt()" function can be found in the <math.h> header. You will probably also need to link against the math library when using the math header (ie "-lm" must be passed to the compiler).
Here are the function signatures for the sqrt functions provided by math.h.
-
double sqrt(double);
-
float sqrtf(float);
-
long double sqrtl(long double);
-