Re: Adding/Removing bytes from the beginning of a file
- Posted by Spock Feb 23, 2015
- 2230 views
GreenEuphorian said...
Spock said...
A combination of seek() and putc() will allow you to overwrite specific bytes without affecting the rest of the file.
putc() ?!? I could not find it in the manual. Or do you mean puts()?
Yeah, puts(). There's also put_integer16() and put_integer32() which do seem unneccesarily long...
Spock

