Let's make believe that we have a bool variable called giraffe. giraffe currently equals 0. Now let's say that we use the bitwise negation operator on giraffe like so:
giraffe = ~giraffe;
giraffe should equal 1 now, yes? Well aparently it doesn't, why is this? Your help would be more appreciated than you could possibly comprehend.



LinkBack URL
About LinkBacks


