when i try to use an exponent it says
error C2296: '^' : bad left operand
error C2297: '^' : bad right operand
error C2064: term does not evaluate to a function
does anyone know how to fix this
Printable View
when i try to use an exponent it says
error C2296: '^' : bad left operand
error C2297: '^' : bad right operand
error C2064: term does not evaluate to a function
does anyone know how to fix this
add this code
#include <cmath>
then later add...
pow(x,y);
C++ doesn't recognize the ^ operator
Wel,, it does, but it's xor. (Exclusive or)
Ok... so it may... but not as a power operator