cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problems in trying to compile htmltidy example in libcurl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 12 Jul 2007 21:36:41 +0200 (CEST)

On Thu, 12 Jul 2007, ying lcs wrote:

> curl_easy_setopt(curl, CURLOPT_NOPROGRESS, no);
> curl_easy_setopt(curl, CURLOPT_VERBOSE, yes);

[...]

> ../test.cpp: In function 'int main(int, char**)':
> ../test.cpp:25: error: 'no' was not declared in this scope
> ../test.cpp:26: error: 'yes' was not declared in this scope

The fix to this problem for you, is to get a book on C (or C++) and read up on
how it works. These error messages tell exactly what the errors are.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-07-12