@michinyon: continue skips the instructions at the end. could be that the failure? could it be that it is skipping the instruction(the if-case) at the beginning?
@AWOL and econjack : i think econjack is right, because the iteration increments and the output is fine.
Nevertheless
- I added static to: static int iterator; => same probleme like before
- deleted "continue;" => same probleme like before