byAnton opened this issue on Jul 18, 2005 ยท 9 posts
kuroyume0161 posted Tue, 19 July 2005 at 6:52 AM
I'm not talking about an EOF marker. I'm talking about checking for the end of the file (returned by most OS and language file reading routines) while reading lines from the file. If they were going by filelength (which is how I determine EOF), then a hard return at the end would be pointless to avoid the issues raised, now wouldn't it?
C makes it easy to shoot yourself in the
foot. C++ makes it harder, but when you do, you blow your whole leg
off.
-- Bjarne
Stroustrup
Contact Me | Kuroyume's DevelopmentZone