Well, of course you're getting syntax errors. You only corrected the iterator in one place. That's not what's giving you the error. You have to correct all the other iterators in your code. It fails while compiling, not while running. Hint: read the line number in your error.
__________________
|