0

I'm kinda new to programming, and I need to know how to use LibCurl in my C++ code. I'm told I need to use its libraries but I'm not quite sure how to do it. Besides, there are so many download options on the website that I don't really know which one to choose. I chose an executable that just gave me a .dll file and a .exe file. Thank you!

user2518393
  • 11
  • 1
  • 1
  • 2

1 Answers1

0

Normally like this :

#include <curl/curl.h>

And -lcurlto compile

Armand
  • 726
  • 11
  • 29
  • thank you, but i need more help on this. let me get this ryt.. i should add that #include line in the code, i get that. Then I type the -lcurl command where exactly? Thing is, I'm using this c++ scientific tool called ROOT and I just type .x to run that macro. – user2518393 Jul 01 '13 at 15:14
  • Basic compile command : `g++ -Wall -lcurl myFile.c` Documentation : http://curl.haxx.se/libcurl/ – Armand Jul 01 '13 at 21:03