hi all, i need help...
ok, about the 2nd statement...

unsigned char buffer[BUFSIZ];
...
buffer[i] ^= argv[3][j++];

ok buffer contains characters from a file...
so im a little confused about what that statement does...
both the "^=" and the argv part...

can anyone explain?

thanks in advance...

Recommended Answers

All 2 Replies

Ok, so did you look up what ^ does. Ok, maybe you should start there.

ok ok...
now i get it...its the XOR operator

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.