I\'ve seen both of these two for statements:
for(i=0;i<10;i++) for(i=0;i!=10;i++)
I know they all stop when i reaches 10 , bu
10
My everyday practice is to use < when I iterate cycle with simple types such as integers and to use != when I work with stl-kind iterators
<
!=