Re: c++ equivalent of getinmemory.c
Date: Mon, 13 Aug 2007 03:57:46 -0500
i'm sorry, i thought examples and tutorials were to help you learn
from. if not, why do you have them in the first place?
On 8/13/07, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Mon, 13 Aug 2007, Marcos Pinto wrote:
> > i'm looking for a c++ equivalent of getinmemory.c that's shown on
> > http://curl.haxx.se/lxr/source/docs/examples/getinmemory.c mainly i'm
> > looking for something that uses the c++ new/delete instead of the c
> > malloc/realloc/free. any pointers would be greatly
> Really, if you can't translate the getinmemory.c example into C++ yourself,
> you should rather take that as an exercise and practise the art of C++ as
> you'll need it if you're gonna use libcurl and write an application using it
> in C++...
> Then, C++ has malloc and free as well so you don't _have to_ rewrite it only
> because you use C++.
> Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-08-13