This project implements file compression using the Huffman algorithm in C++. The Huffman algorithm is a lossless data compression algorithm widely used in various applications. The project provides a simple and efficient implementation of the algorithm, allowing you to compress and decompress files.
- Features
- Installation
- Usage
- Compresses files using the Huffman algorithm.
- Decompresses Huffman-compressed files.
- Provides a command-line interface for compression and decompression.
- Efficient implementation for improved performance.
Clone the repository:
git clone https://github.com/your-username/huffman-compression.git
- Run the file
index.cpp
using gcc compiler
g++ .\index.cpp
- Run the executable file
.\a.exe
- You will find the demo code results as well as the output files. Now you can replace the
input.txt
with your data file and rerun the above code to get your results.
Thank You!!