1

i want to use liblzf in my application that is written in c++

The description on the site says that It only uses 2 .c and 2 .h files but the tar.gz file contains 3 .h and 3 .c files. Can anyone tell me what should I only include in my application?

kuchi
  • 840
  • 11
  • 19

1 Answers1

1

lzf_c.c for compression, lzf_d.c for decompression. You don't need lzf.c which seems to be a testing harness. I suspect you have some tweaking to do to get it working with C++.

john
  • 85,011
  • 4
  • 57
  • 81
  • Thanks I got it working now. I just needed to comment out a single line to make it compile. – kuchi Aug 21 '11 at 17:02