代码改变世界

随笔分类 -  网络知识

利用cURL来获取网页信息-Using cURL to get webpage content

2013-03-17 20:29 by java20130722, 261 阅读, 收藏,
摘要: #include #include #include #include #include extern "C" { #include //#include #include } using namespace std; int writer(char* data, size_t size, size_t nmemb, string *buffer) { fprintf(stderr, "Hello, I am a function pointer\n"); int result = 0; if (buffer != NUL... 阅读全文
点击右上角即可分享
微信分享提示