For the program I am making, I need the to power of symbol, but when I try to use the general symbol (^), it doesn't recognize that?
Could anyone tell me what symbol to use instead?
there is no pow symbol. use the C function pow(x,y);
double res = pow(5.0,2.0); //25
BSD Library Functions Manual
NAME: pow -- power function
SYNOPSIS:
#include <math.h>
double pow(double x, double y);