Re: Writing records into fixed length record file....
- Posted by Matt Lewis <matthewwalkerlewis at yahoo.com> Aug 11, 2004
- 412 views
John F Dutcher wrote: > > I am harboring what I hope is the misguided illusion...that in 'C' fashion, > puts() will append some sort of string terminating character when > issued...disturbing the 1st character of the next sequential record. Yes, this is misguided. :) Not sure what 'C' fashion is, unless you're talking about text mode output under Windows/DOS, where /n -> /n/r. Also, in text mode, you can't output EOF (26). Just make sure you open in binary mode, and you shouldn't have any problems. Matt Lewis