Writing records into fixed length record file....
- Posted by John F Dutcher <John_Dutcher at urmc.rochester.edu> Aug 11, 2004
- 426 views
Will it probably be my misfortune to discover that I cannot use puts() to write a string into a fixed length file (as in update or replace data) because puts() will append a trailing character(s) and mess up the file. Looping thru putc() is kind of undesireable for many records. There seems to be no counter-part to 'get_bytes' to do writes to a fixed length file with fixed length records .... i.e. 'put_bytes' ??