Here are some C++ source code samples from various projects of mine. Most are free to use but check any license files that accompany the downloads for details.

All code was created in Microsoft Visual C (6 and 7) but most would probably compile under mingw32 as well.

Hints and tips are always welcome. Mail me here.


LZ77/LZSS Compression and decompression code. There are many versions here from really basic to fairly complicated. The later versions of the code use a LZ77 compression with huffman backend. Download