How to create wrapper class for ZLIB software library?

Status
Not open for further replies.

xanseviera

Junior Member level 3
Joined
Jun 22, 2010
Messages
27
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,434
im doing data compression using ZLIB using C++.
how to create wrapper class for ZLIB software lib?
please help me.

TQ.
 

not sure what kind of help do you want, just make a static library and insert a class and link ZLIB to this project and call the appropriate methods for ZLIB from the new class methods.
 

The simplest way is to design methods that map the arguments and return values to those of Zlib.
They can be macros after all.
--
Amr
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…