View Single Post
Old 05 October 2012, 17:36   #5
Leffmann
 
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
Ok that was it I had no idea the EOF flag didn't update until after an I/O op. Keep the text mode in mind as well, it will both discard CR bytes as you read and insert new ones as you write. C++ streamed I/O is a real minefield.
Leffmann is offline  
 
Page generated in 0.04337 seconds with 11 queries