Hello, im using a C program with libcurl to send a POST. The server reads my POST and return a XML file, that is printed in the terminal when i execute the program. How can i put the lines from this XML into variables in my C program? It doesnt seem to write this info anywhere?!
Code:#include <stdio.h> #include <curl/curl.h> int main(void){ CURL *curl; CURLcode res; curl = curl_easy_init(); if(curl) { curl_easy_setopt(curl, CURLOPT_URL, "www.xxx.zzz.php"); curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "in_chkcacic=chkinfo"); res = curl_easy_perform(curl); curl_easy_cleanup(curl); } return 0; }



LinkBack URL
About LinkBacks


