cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: problem saving urlcode (string)

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 14 Apr 2005 13:01:31 +0200 (CEST)

On Thu, 14 Apr 2005 informatik4u_at_web.de wrote:

> here is my code for reading the string:
> ...
> res = curl_easy_perform(curl);
> xmldata = res; // xmldata is a c++ string

curl_easy_perform() returns an CURLcode type, which isn't string:

   http://curl.haxx.se/libcurl/c/curl_easy_perform.html

But it looks like you might need to start with the tutorial instead:

   http://curl.haxx.se/libcurl/c/libcurl-tutorial.html

There's also a C++ binding for libcurl that might be interesting for you:

   http://rrette.com/curlpp.html

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-04-14