cURLpp - Help

Hello,

I have recently decided that I would give cURLpp a try. I seem to be hitting a wall with it though. I have gotten to the point where I save the HTML to a file, but getting the contents to a string or c style string seem to be much more difficult for me to wrap my head around.

How exactly am I supposed to create the callback, being static, without the ability to pass in an object/member to it (at least that I've found)? The examples use a global char* to hold the data, but that doesn't seem very OOP/good programing practice.

I feel like there is something I am missing. Could anyone point me in the right direction or offer some advice?

Any more details I can provide?


Thank you!
Topic archived. No new replies allowed.