- #386
pbuk
Science Advisor
Homework Helper
Gold Member
- 4,726
- 2,988
Indeed. 'sometime after that' is exactly the problem: rather than double-guess the compiler as to when that 'sometime' is, much better to be sure by moving the increment into a separate statement.Mark44 said:Sometime after that, i gets incremented to 2.