Possible to package files into zip file?

This is a discussion on Possible to package files into zip file? within the C Programming forums, part of the General Programming Boards category; I have a program that has created several .txt and .bat files and I was wondering if there was a ...

  1. #1
    Registered User
    Join Date
    Jul 2008
    Posts
    7

    Possible to package files into zip file?

    I have a program that has created several .txt and .bat files and I was wondering if there was a way to package everything into a zip file? Thanks.

  2. #2
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,211
    You must have a more detailed question, because the obvious answer is, "Yes." Are you asking how to do this programatically?

  3. #3
    Registered User
    Join Date
    Jul 2008
    Posts
    7
    Yeah, I'm asking how to program this. Sorry for not being clearer.

  4. #4
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,766
    If I'm not mistaken, zlib is a library that can create and manipulate zip files (it's free).
    Give it a try.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. File being filled with NULLs
    By Tigers! in forum Windows Programming
    Replies: 2
    Last Post: 06-30-2009, 05:28 PM
  2. File transfer- the file sometimes not full transferred
    By shu_fei86 in forum C# Programming
    Replies: 13
    Last Post: 03-13-2009, 12:44 PM
  3. Inventory records
    By jsbeckton in forum C Programming
    Replies: 23
    Last Post: 06-28-2007, 04:14 AM
  4. Need a suggestion on a school project..
    By Screwz Luse in forum C Programming
    Replies: 5
    Last Post: 11-27-2001, 01:58 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21