Ok, I have been looking into programing for the Nintendo DS. I have figured all that out, but looking through the soruce code of a library I saw these... &= |= ... Could someone please explain what that does? MY c++ book doesn't explain it.
Ok, I have been looking into programing for the Nintendo DS. I have figured all that out, but looking through the soruce code of a library I saw these... &= |= ... Could someone please explain what that does? MY c++ book doesn't explain it.
Do you know what x += 1; does?
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Yeah....And someone explained it to me. foo |= bar is the same as foo = foo or bar same with & operator.