Originally Posted by
grumpy
You might want to clarify what you already know.
In particular : What do you understand is the difference between a C and C++ program? What types of programs and libraries have you created?
The reason for my first question is that different people mean different things when they talk about using (or adapting) C source in a C++ program. So plenty of people might give you answers that are perfectly correct, but actually confuse you further. The way you've asked your question suggests you are not thinking in the way that a lot of people do, when they think in terms of "implementation in a C++ code".
The reason for my second question is that learning C and/or C++ programming is a gradual process, and using third party libraries (even more so, using libraries associated with "powerful tools" that - like WinRAR - are not known for being well documented) is not something you want to jump into too early. From the way you have phrased your question, I suspect you have jumped past several things that people expect you to know, if you are trying to use a third party library. So I'm concerned that people might give you answers that are completely correct, but will confuse you because they'll rely on things you haven't learned yet. Sort of like asking how to build the roof of a house, when you haven't even worked out how to lay down the ground floor or put up the walls.