Roman Leshchinskiy wrote: > Andrew Coppin wrote: >> Then Mr C++ looked at it and said "OMG! You don't *never* use >> strlen() inside a loop!" and the second version was writting: > > Nice. I especially like the way it'll segfault if there is a blank at > the end of the file. That's why I love C so much. :-)