views:

83

answers:

2

I was trying to create a lzw compression program. But i need to finish it by today itself so i want to use some dll for taking my input as txt file and output to as a text file. I want to do this in TURBO C++ code which are doing my remaining functionalities. Can anyone suggest me some method.

A: 

Libzip isn't LZW (it uses an algorithm that's generally better), but it is probably the best standard answer. I don't know if there's a downloadable DLL for it in a standard location, so you might have to compile it from source.

Alternatively, a bit of Google-searching (on "lzw compression dll") found this C++ source code for doing LZW compression, which you may be able to use: http://zabkat.com/blog/24Jan10-lzw-compression-code.htm

Brooks Moses
A: 

this is an oldie question.

You can still look around the LHArc sources on the old Simtel archives. There's an implementation of LZW algorithm before it was patented by Compuserve.

buttercup