对于我的简单问题,我很抱歉,但是我使用libcurl是新手.我有以下代码:
curl_easy_setopt(curl, CURLOPT_URL, "http://mypage.com/index.php?DataSourceId=1");
curl_easy_setopt(curl, CURLOPT_HTTPGET, 1);
res = curl_easy_perform(curl);
Run Code Online (Sandbox Code Playgroud)
一切工作正常,因此执行curl_easy_perform(卷曲),当我在控制台JSON字符串,我想这个字符串中的变量.
请有人可以帮帮我吗?
任何建议将不胜感激.