On 5/23/2022 11:15 AM, J via curl-library wrote:
> I'm trying to turn a (working) command-line call to curl into an
> equivalent c++ program.


Use option --libcurl filename.c and the curl tool will generate C code
for libcurl. [1]


[1]: https://curl.se/docs/manpage.html#--libcurl

-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to