Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.04 KB

File metadata and controls

38 lines (27 loc) · 1.04 KB

Huffman File Compression

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.

Table of Contents

  • Features
  • Installation
  • Usage

Features

  • Compresses files using the Huffman algorithm.
  • Decompresses Huffman-compressed files.
  • Provides a command-line interface for compression and decompression.
  • Efficient implementation for improved performance.

Installation

Clone the repository:

git clone https://github.com/your-username/huffman-compression.git

Usage

  1. Run the file index.cpp using gcc compiler
  g++ .\index.cpp
  1. Run the executable file
  .\a.exe
  1. 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!!