Re: Writing records into fixed length record file....

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu