Huf Me File Manager
September 2023Software
Huf-Me-File-Manager is a C++ console-based application developed for a Data Structure course. It implements Huffman Encoding to compress and decompress text files, along with additional utilities like word counting and file management. The project bridges theoretical concepts like trees and heaps with real-world file handling, showing how data structures can be applied to build efficient systems.
A C++ console tool that uses Huffman Encoding to compress files efficiently while integrating practical file management utilities.
Tech Stack
C++
Features
- Compress
.txtfiles using Huffman Encoding - Decompress files back to original content
- Count total words and search word frequency
- Delete files safely within the workspace
- Preview compressed binary output
- Built using STL with no external dependencies
Challenges
- Implementing Huffman algorithm correctly from scratch
- Managing tree and heap structures together efficiently
- Reducing file size effectively during compression
- Handling different types of input data and edge cases
- Debugging file read/write and binary handling issues
Learnings
- Deep understanding of Huffman Encoding and compression logic
- Learned how trees and heaps work together in real scenarios
- Improved problem-solving with complex data structure implementation
- Gained experience in file handling and memory management in C++
- Understood how theoretical concepts translate into practical tools
Highlights
- Successfully built a working compression system from scratch
- Demonstrated practical use of algorithms beyond theory