Thread: Implementing Zlib function

  1. #1
    Registered User
    Join Date
    Nov 2007
    Posts
    99

    Implementing Zlib function

    Hello all,
    i want to implent ZLIB function in c or c++ which should work on all environments ,
    like windows, linux and unix , menas when i execute those cpp files it should ask the file to be compressed and it should compress it , please help me in getting the source code of zlib
    and also how to implement,
    thank in advance.

  2. #2
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,268
    please help me in getting the source code of zlib
    Are you serious? The link to the source code is on zlib's homepage...

    Seriously, if you can't enact the problem solving skills it takes to do a google search and download some files, how do you hope to accomplish the ambitious task of merging file compression code into your own application?

    Anyways, to answer your question, go to www.zlib.net, scroll halfway down the page and click the link underneath the text that says "zlib source code".

  3. #3
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,268
    Oh, and to answer your second question: another link on zlib's homepage is completely dedicated to giving a well documented example on how to use the library via C code. Here you go.

  4. #4
    Registered User
    Join Date
    Nov 2007
    Posts
    99

    Zlib implementation

    Hello bithub,
    thank you for reply , i have searched a lot in zlib.net but i didnt get the source code for c or c++ which is there for other launguages java and dotnet ,please specify the direct URL it will be great help to me,
    and also how to use that software in linux and unix means how to install it and how to use it please inform me.
    means what kind of files i need to download for unix and for linux,

    thanks in advance.
    Last edited by vin_pll; 01-24-2008 at 11:06 PM.

  5. #5
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    ? The source code is only in C format, no Java and no .NET that I see in the package. Go to www.zlib.net, hit Ctrl-F (or whatever "find in page" is in your browser), and type "source code". You'll be taken straight to the tar-ball of the source.

  6. #6
    Registered User
    Join Date
    Nov 2007
    Posts
    99

    zlib implementation

    thank u for reply,
    yes off course we can download but while unzipping it showing invalid archieve,
    thats why iam asking u so many times, is there any alternative, please inform me.

  7. #7
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    I downloaded it right when I answered the question, so there's nothing wrong with the package.

    If you're "unzipping", be sure that you're getting the zip file (third one down).

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. In over my head
    By Shelnutt2 in forum C Programming
    Replies: 1
    Last Post: 07-08-2008, 06:54 PM
  2. Undefined Reference Compiling Error
    By AlakaAlaki in forum C++ Programming
    Replies: 1
    Last Post: 06-27-2008, 11:45 AM
  3. Including lib in a lib
    By bibiteinfo in forum C++ Programming
    Replies: 0
    Last Post: 02-07-2006, 02:28 PM
  4. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  5. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 07:05 PM