I just want to flip a boolean based on what it already is. If it\'s true - make it false. If it\'s false - make it true.
Here is my code excerpt:
swi
The codegolf'ish solution would be more like:
flipVal = (wParam == VK_F11) ? !flipVal : flipVal; otherVal = (wParam == VK_F12) ? !otherVal : otherVal;