Can anybody tell me how to increment the iterator by 2?
iter++ is available - do I have to do iter+2? How can I achieve this?
iter++
iter+2
You could use the 'assignment by addition' operator
iter += 2;