posted 13 years ago
j++ means that the value of j will increase by 1 after the statement is processed.
So when you do:
You are really doing:
So j gets assigned 0, THEN the value on the right hand side turns into 1, but at that point it doesnt matter because the loop executes again and the right hand side is lost.
try this:
"If the facts don't fit the theory, get new facts" --Albert Einstein