Semicolons are just as easy to miss even if you put the brackets in a different line.
QFT, happened once or twice to me.
The good thing is that those kind of mistakes (with infinite while loops) are very easy to debug!
The bad thing was, I didn't yet know how to use a debugger.
@tstrimple: Sadly, my IDE of choice doesn't do that.
(I use QtCreator, which is fairly modern, and includes alot of C++11 syntax highlighting for things like lambdas and such)