Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Inserting

Name: Anonymous 2009-09-03 7:48

are there any open/write functions for C , which do not overwrite chars in a file , but insert them ?

or do i have to write a shitty loop that just reads , stores and writes a char ?

also discuss file and string handling libraries because most that i have seen suck .

Name: Anonymous 2009-09-03 8:35

>>5
and this is what fucking bothers me so much the only way to implement these is to copy the whole file to memory and opperate from there which would eat up lots of space . or a "Read -> Store -> Write" loop , which would have to go trough the whole file , either way not very ellegant solutions . i just wanted to know if there was any "easy" and efficient way to do it .
seems like not , not a big deal .

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List