实例介绍
libcurl使用demo,从给出的网址获取它的头信息,并取出属性值
【实例截图】
【核心代码】
4744300845382891016.rar
└── ConsoleApplication1
├── ConsoleApplication1.cpp
├── ConsoleApplication1.sln
├── ConsoleApplication1.v12.suo
├── ConsoleApplication1.vcxproj
├── ConsoleApplication1.vcxproj.filters
├── ConsoleApplication1.vcxproj.user
├── include
│ ├── curl
│ │ ├── curlbuild.h
│ │ ├── curlbuild.h.cmake
│ │ ├── curlbuild.h.in
│ │ ├── curl.h
│ │ ├── curlrules.h
│ │ ├── curlver.h
│ │ ├── easy.h
│ │ ├── Makefile.am
│ │ ├── Makefile.in
│ │ ├── mprintf.h
│ │ ├── multi.h
│ │ ├── stdcheaders.h
│ │ └── typecheck-gcc.h
│ ├── Makefile.am
│ ├── Makefile.in
│ └── README
├── lib
│ ├── amigaos.c
│ ├── amigaos.h
│ ├── arpa_telnet.h
│ ├── asyn-ares.c
│ ├── asyn.h
│ ├── asyn-thread.c
│ ├── axtls.c
│ ├── axtls.h
│ ├── base64.c
│ ├── bundles.c
│ ├── bundles.h
│ ├── checksrc.pl
│ ├── CMakeLists.txt
│ ├── config-amigaos.h
│ ├── config-dos.h
│ ├── config-mac.h
│ ├── config-os400.h
│ ├── config-riscos.h
│ ├── config-symbian.h
│ ├── config-tpf.h
│ ├── config-vxworks.h
│ ├── config-win32ce.h
│ ├── config-win32.h
│ ├── conncache.c
│ ├── conncache.h
│ ├── connect.c
│ ├── connect.h
│ ├── content_encoding.c
│ ├── content_encoding.h
│ ├── cookie.c
│ ├── cookie.h
│ ├── curl_addrinfo.c
│ ├── curl_addrinfo.h
│ ├── curl_base64.h
│ ├── curl_config.h.cmake
│ ├── curl_config.h.in
│ ├── curl_darwinssl.c
│ ├── curl_darwinssl.h
│ ├── curl_fnmatch.c
│ ├── curl_fnmatch.h
│ ├── curl_gethostname.c
│ ├── curl_gethostname.h
│ ├── curl_gssapi.c
│ ├── curl_gssapi.h
│ ├── curl_hmac.h
│ ├── curl_ldap.h
│ ├── curl_md4.h
│ ├── curl_md5.h
│ ├── curl_memory.h
│ ├── curl_memrchr.c
│ ├── curl_memrchr.h
│ ├── curl_multibyte.c
│ ├── curl_multibyte.h
│ ├── curl_ntlm.c
│ ├── curl_ntlm_core.c
│ ├── curl_ntlm_core.h
│ ├── curl_ntlm.h
│ ├── curl_ntlm_msgs.c
│ ├── curl_ntlm_msgs.h
│ ├── curl_ntlm_wb.c
│ ├── curl_ntlm_wb.h
│ ├── curl_rtmp.c
│ ├── curl_rtmp.h
│ ├── curl_sasl.c
│ ├── curl_sasl.h
│ ├── curl_schannel.c
│ ├── curl_schannel.h
│ ├── curl_setup.h
│ ├── curl_setup_once.h
│ ├── curl_sspi.c
│ ├── curl_sspi.h
│ ├── curl_threads.c
│ ├── curl_threads.h
│ ├── curlx.h
│ ├── cyassl.c
│ ├── cyassl.h
│ ├── dict.c
│ ├── dict.h
│ ├── dotdot.c
│ ├── dotdot.h
│ ├── easy.c
│ ├── easyif.h
│ ├── escape.c
│ ├── escape.h
│ ├── file.c
│ ├── file.h
│ ├── fileinfo.c
│ ├── fileinfo.h
│ ├── firefox-db2pem.sh
│ ├── formdata.c
│ ├── formdata.h
│ ├── ftp.c
│ ├── ftp.h
│ ├── ftplistparser.c
│ ├── ftplistparser.h
│ ├── getenv.c
│ ├── getinfo.c
│ ├── getinfo.h
│ ├── gopher.c
│ ├── gopher.h
│ ├── gskit.c
│ ├── gskit.h
│ ├── gtls.c
│ ├── gtls.h
│ ├── hash.c
│ ├── hash.h
│ ├── hmac.c
│ ├── hostasyn.c
│ ├── hostcheck.c
│ ├── hostcheck.h
│ ├── hostip4.c
│ ├── hostip6.c
│ ├── hostip.c
│ ├── hostip.h
│ ├── hostsyn.c
│ ├── http.c
│ ├── http_chunks.c
│ ├── http_chunks.h
│ ├── http_digest.c
│ ├── http_digest.h
│ ├── http.h
│ ├── http_negotiate.c
│ ├── http_negotiate.h
│ ├── http_negotiate_sspi.c
│ ├── http_proxy.c
│ ├── http_proxy.h
│ ├── idn_win32.c
│ ├── if2ip.c
│ ├── if2ip.h
│ ├── imap.c
│ ├── imap.h
│ ├── inet_ntop.c
│ ├── inet_ntop.h
│ ├── inet_pton.c
│ ├── inet_pton.h
│ ├── krb4.c
│ ├── krb4.h
│ ├── krb5.c
│ ├── ldap.c
│ ├── libcurl.aps
│ ├── libcurl.dll
│ ├── libcurl.lib
│ ├── libcurl.plist
│ ├── libcurl.rc
│ ├── libcurl.vers.in
│ ├── llist.c
│ ├── llist.h
│ ├── Makefile.am
│ ├── makefile.amiga
│ ├── Makefile.b32
│ ├── makefile.dj
│ ├── Makefile.in
│ ├── Makefile.inc
│ ├── Makefile.m32
│ ├── Makefile.netware
│ ├── Makefile.vc10
│ ├── Makefile.vc6
│ ├── Makefile.vc8
│ ├── Makefile.vc9
│ ├── Makefile.vxworks
│ ├── Makefile.Watcom
│ ├── md4.c
│ ├── md5.c
│ ├── memdebug.c
│ ├── memdebug.h
│ ├── mk-ca-bundle.pl
│ ├── mk-ca-bundle.vbs
│ ├── mprintf.c
│ ├── multi.c
│ ├── multihandle.h
│ ├── multiif.h
│ ├── netrc.c
│ ├── netrc.h
│ ├── non-ascii.c
│ ├── non-ascii.h
│ ├── nonblock.c
│ ├── nonblock.h
│ ├── nss.c
│ ├── nssg.h
│ ├── nwlib.c
│ ├── nwos.c
│ ├── objnames.inc
│ ├── objnames-test08.sh
│ ├── objnames-test10.sh
│ ├── openldap.c
│ ├── parsedate.c
│ ├── parsedate.h
│ ├── pingpong.c
│ ├── pingpong.h
│ ├── pipeline.c
│ ├── pipeline.h
│ ├── polarssl.c
│ ├── polarssl.h
│ ├── polarssl_threadlock.c
│ ├── polarssl_threadlock.h
│ ├── pop3.c
│ ├── pop3.h
│ ├── progress.c
│ ├── progress.h
│ ├── qssl.c
│ ├── qssl.h
│ ├── rawstr.c
│ ├── rawstr.h
│ ├── README.ares
│ ├── README.curl_off_t
│ ├── README.curlx
│ ├── README.encoding
│ ├── README.hostip
│ ├── README.httpauth
│ ├── README.memoryleak
│ ├── README.multi_socket
│ ├── README.pingpong
│ ├── README.pipelining
│ ├── rtsp.c
│ ├── rtsp.h
│ ├── security.c
│ ├── select.c
│ ├── select.h
│ ├── sendf.c
│ ├── sendf.h
│ ├── setup-os400.h
│ ├── setup-vms.h
│ ├── share.c
│ ├── share.h
│ ├── slist.c
│ ├── slist.h
│ ├── smtp.c
│ ├── smtp.h
│ ├── sockaddr.h
│ ├── socks.c
│ ├── socks_gssapi.c
│ ├── socks.h
│ ├── socks_sspi.c
│ ├── speedcheck.c
│ ├── speedcheck.h
│ ├── splay.c
│ ├── splay.h
│ ├── ssh.c
│ ├── ssh.h
│ ├── sslgen.c
│ ├── sslgen.h
│ ├── ssluse.c
│ ├── ssluse.h
│ ├── strdup.c
│ ├── strdup.h
│ ├── strequal.c
│ ├── strequal.h
│ ├── strerror.c
│ ├── strerror.h
│ ├── strtok.c
│ ├── strtok.h
│ ├── strtoofft.c
│ ├── strtoofft.h
│ ├── telnet.c
│ ├── telnet.h
│ ├── tftp.c
│ ├── tftp.h
│ ├── timeval.c
│ ├── timeval.h
│ ├── transfer.c
│ ├── transfer.h
│ ├── url.c
│ ├── urldata.h
│ ├── url.h
│ ├── version.c
│ ├── warnless.c
│ ├── warnless.h
│ ├── wildcard.c
│ ├── wildcard.h
│ ├── x509asn1.c
│ └── x509asn1.h
├── ReadMe.txt
├── stdafx.cpp
├── stdafx.h
└── targetver.h
4 directories, 297 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论