02 Sep, 2013, Davenge wrote in the 1st comment:
Votes: 0
Language is C.

I thought I would use zlib, but looking over the documentation I'm not quite seeing a function that would let me flat out add an already generated .txt file an already established .zip file. Then again, I'm a bit retarded. Any thoughts?

02 Sep, 2013, Rarva.Riendf wrote in the 2nd comment:
Votes: 0
found this:


not quite sure there is a 'simple' command to just add a file to zip. Compression use a dictionary depending on content. So if you append something quite logically, the dictionary should change. (think decompressing, then reanalysing and recompressing)
Or you just use a container for all your differently compressed file. zip is not that container.
02 Sep, 2013, Davenge wrote in the 3rd comment:
Votes: 0
I'll take a look, seems I need to learn more about Compression.
02 Sep, 2013, Davenge wrote in the 4th comment:
Votes: 0
Ah, I understand! Now to adapt it… :D