I have installed libcurl3 in my ubuntu. But when i try to run the program using the command
g++ sample.C -l curl
It gives an error saying "curltest.c:2:23: fatal error: curl/curl.h: No such file or directory
i'd be glad if someone could help me out with this problem!
Thanks in advance
The code i tried to run is..
curl = curl_easy_init();
curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");
res = curl_easy_perform(curl);
/* always cleanup */