j
k
j a
j l
JD wrote:
Hello, Anyone has an idea why this code crashes:
Hello,
Anyone has an idea why this code crashes:
while (it++ != l.end())
You probably want for( ; it != l.end(); ++it ) here, since in the original the increment happens before the loop body.
Back to the thread
Back to the list