C++ 寫程式碼自動把資料夾加入壓縮檔壓縮

如題,希望以C++的程式碼將特定資料夾製做成壓縮檔

不知是否有API可供呼叫?

2 個解答

評分
  • Chen
    Lv 6
    9 年前
    最佳解答

    compress method has many different way. such as bzip2, lz77, lzw, huffman codes, arithmathics codes, ...etc

    bzip2 had better than any other way. above statement is my coding experience.

  • ?
    Lv 7
    9 年前

    zlib

    http://www.zlib.net/

    或者直接用 system call 下指令

還有問題?馬上發問,尋求解答。