uygar
6th October 2010, 16:08
I know my problem is very easy, even for begginer but:
int aa=2;
int bb=3;
double abd=aa^bb;
but i have to do it like this but i couldn't
double aa=2.09;
double bb=3.04;
double abd=aa^bb;
error: invalid operands of types `double' and `double' to binary `operator^'
What is the solition?
int aa=2;
int bb=3;
double abd=aa^bb;
but i have to do it like this but i couldn't
double aa=2.09;
double bb=3.04;
double abd=aa^bb;
error: invalid operands of types `double' and `double' to binary `operator^'
What is the solition?