File Compresor

Hey folks,
I need some help in my program for compress files based on code of huffman. I only can compress .txt files, and uncompress later exacly equal the original. But, when i try compress .mp3 or .bmp files, i can't uncompress the same file. The files that i compress in txt format are bigger then your original, that's another problem. Can anybody fix my problem?


Your code is not compressing/decompressing correctly, causing file corruption. This could be due to many possible problems, most of which we can't help you solve without seeing the code. The only bit of advice I can give you is to check that the files are being opened in binary mode.
Topic archived. No new replies allowed.