Exponentiation in C language
Solved/Closed
andro127
-
Anonyme -
Anonyme -
Hello, I regularly face a problem:
I can't assign to a variable a power of two other variables!
int a;
a=q^z;
doesn't work.
int a;
a=qez;
doesn't work either.
Does anyone know how to do this or should I resort to differentiating the cases where z=1, z=2, etc...?
Thanks in advance.
@+
I can't assign to a variable a power of two other variables!
int a;
a=q^z;
doesn't work.
int a;
a=qez;
doesn't work either.
Does anyone know how to do this or should I resort to differentiating the cases where z=1, z=2, etc...?
Thanks in advance.
@+
you are helping me out of a tough spot..
see you later