From: Heedle B. <hee...@gm...> - 2009-02-03 23:33:58
|
XOR is this character: ^. It does not seem to operate in DevC++. When I attempt to compile this: #include <iostream> using namespace std; #define PI 3.14159 #define NEWLINE '\n' int main () { char a; char b; cout << a ^ b << endl; system("pause"); } I get this error: invalid operands of types `char' and `<unknown type>' to binary `operator<<' Is there a solution to this? Heedle. |