Skip to content

jayantp2003/File-Compression-Huffman-Encoding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages