Compressing files in C

Опубликовано: 29 Март 2026
на канале: dr Jonas Birch
2,527
175

We have written utility functions for sorting our data structures and today we'll start writing the routines for actually compressing the files.

This is episode two of the series.

We'll code a file compressor which will divide a file into 32 bit integers and create a list with unique entries. Then we'll swap each 32 bit block for a 16 bit index, and compress consecutive similar blocks even more.

References

1. Become a channel member and get several benefits, check out:
   / @dr-jonas-birch  

2. Ep 01: Coding a WINZIP file compressor in C
   • Coding a WINZIP file compressor in C  

Table of Contents

00:00:00 Introduction
00:00:37 Search function
01:34:04 Compressing files
01:49:06 Higher-order filtering