|
-
Jan 8th, 2002, 05:09 PM
#1
Thread Starter
New Member
exponents
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
-
Jan 8th, 2002, 05:53 PM
#2
Lively Member
add this code
#include <cmath>
then later add...
pow(x,y);
C++ doesn't recognize the ^ operator
-
Jan 8th, 2002, 11:03 PM
#3
Wel,, it does, but it's xor. (Exclusive or)
-
Jan 9th, 2002, 01:51 AM
#4
Lively Member
Ok... so it may... but not as a power operator
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|