detail: = 1 would be better here, ++ reads current value (which should always be 0), adds one, then stores calculated value. 1 is an immediate. (the compiler might detect this and optimize it btw)