C++ By Example
You will find clear and up to date C++ code examples with concise and straightforward explanations.
Convert a curl cmdline to libcurl source code
curl curl.se --libcurl code.c
Append --libcurl
to any ordinary curl command line, and you will get a libcurl-using C source code.