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

Pages: 1-

How can I gunzip a file in C?

Name: Anonymous 2010-08-29 6:17

Name: Anonymous 2010-08-29 6:19

system("gunzip file");

Name: Anonymous 2010-08-29 6:25

>>2
I've been looking through some solutions and sadly enough, I think I'll go with this.

Name: Anonymous 2010-08-29 6:26

there should be some library, right?

Name: Anonymous 2010-08-29 6:43

I believe you're looking for this:

http://zlib.net/

And fyi, it's already installed on all Linux distros.

Name: Anonymous 2010-08-29 8:35

>>5
Why can't I compile it as a standalone program with plain gcc? I want to avoid any "makefiles"(which i consider bloated and poor design).

Name: Anonymous 2010-08-29 9:04

-lz

Name: Anonymous 2010-08-29 10:29

>>6
I want to avoid any "makefiles"(which i consider bloated and poor design).

I just compiled a bit in my pants, if you know what I mean

Name: Anonymous 2010-08-29 11:03

>>8
It means that YHBFV?

Name: Anonymous 2010-08-29 20:56


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