Yes, I did check the debugger and it breaks before entering the first iteration. I have fixed the *it++ but the error still prevails. I am getting a headache here....