In c++ primer, pg 95 the author says that c++ programmers tend to use != in preference of < when writing loops.
for (vector::size_type i = 0;
When using some kinds of STL iterators (those that aren't random access), you must use !=:
for (map::iterator i = a.begin(); i != a.end(); ++i) ...
However, I don't see any reason to prefer != for well-ordered scalar types as in your example. I would usually prefer < for scalar types and != for all iterator types.