Wintermute Engine Forum

General Category => General Discussion => Topic started by: mylesblasonato on November 02, 2010, 11:28:48 AM

Title: c++ problem
Post by: mylesblasonato on November 02, 2010, 11:28:48 AM
Hi guys :)
I have a different kind of problem then we are used to seeing. It's a c++ problem. I am creating a dll implementing Huffman Compression.
The thing is that the compression is working but the decompression is not.
If anyone can help as to why that would be awesome.
I have linked a zip file which includes my visual studio express edition 2008 solution file.
The debugger options are also set up with the right arguments.
All you have to do is run the program from within visual studio and take a look inside of the project folder to see the result.

Cheers  ::beer
Myles Blasonato.
LINK: http://www.mediafire.com/?g5471qwq3x4vve5 (http://www.mediafire.com/?g5471qwq3x4vve5)
Title: Re: c++ problem
Post by: Mnemonic on November 02, 2010, 06:29:35 PM
Wouldn't it be easier to use some existing compression library, such as zlib?
Title: Re: c++ problem
Post by: Spellbreaker on November 03, 2010, 08:43:04 PM
LZMA is free too and has best compression as far as I know :)

http://www.7-zip.org/sdk.html


Greets, Spellbreaker
Title: Re: c++ problem
Post by: mylesblasonato on November 10, 2010, 02:29:51 AM
Hi guys :)
Yeah I would love to use the other compression libraries but it's for learning purposes.

Cheers  ::beer
Myles Blasonato.