curl-users
Re: curl output to string
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 17 Apr 2006 22:27:20 +0200 (CEST)
Date: Mon, 17 Apr 2006 22:27:20 +0200 (CEST)
On Mon, 17 Apr 2006, Flatron wrote:
> I would like to put the output of a http request made with curl from c++. I
> tried to do it with the example file getinmemory.c, but I can't put the
> output from chunk.memory to a string or a char array, I always get an
> exception. I'm new to c, so that's possible that it's a very easy thing, and
> only I can't do that.
1. It sounds like you wrote your program badly
2. You could try the curl-library mailing list instead, since that is for
libcurl users/hackers
3. For C++ you could possibly consider using the curlpp binding...
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-04-17