Skip to content

Latest commit

 

History

History
43 lines (37 loc) · 840 Bytes

README.md

File metadata and controls

43 lines (37 loc) · 840 Bytes

2022辅修数据结构课程设计

构建

Use GCC/Clang+CMake

git clone https://github.com/pcbcos/wzip
cd wzip
mkdir build
cmake -B build . -G "Unix Makefiles"
cmake --build build
cd bin #可执行文件所在路径

Use MSVC(VS2022)+CMake

git clone https://github.com/pcbcos/wzip
cd wzip
mkdir build
cmake -B build . -G "Visual Studio 17 2022"
cmake --build build
cd bin/Debug #可执行文件所在路径

使用方法

压缩(使用哈夫曼编码)

wzip.exe [input filename] [output filename]

解压缩((使用哈夫曼编码))

unwzip.exe [input filename] [output filename]

压缩(使用等长编码)

Eqwzip.exe [input filename] [output filename]

解压缩(使用等长编码)

unEqwzip.exe [input filename] [output filename]