如何在C ++中读取网页内容,HTTP客户端 [英] How to read web page content, HTTP client in C++
本文介绍了如何在C ++中读取网页内容,HTTP客户端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要编写一个程序,该程序可以读取网页数据.我可以使用某些功能吗?我需要链接一些包含文件吗?
谢谢!
I need to write a program which can read the data of a web page. Are there some functions I can use and do I need to link some include files?
Thank you!
推荐答案
简单的 ^ ]会给你这些:
第一个结果 [ ^ ]
libcurl [ ^ ]
在Google上仔细阅读它们以及更多内容,以开始使用.
最后,为了阅读C ++网页,您将需要使用某种类型的网络库,因为C ++本身不支持网络.
A simple Google [^]would had given you these:
First result[^]
libcurl[^]
Go through them and many more on Google to get started.
Lastly, in order to read a webpage in C++, you''ll need to use a networking library of some sort as C++ does not support networking natively.
这篇关于如何在C ++中读取网页内容,HTTP客户端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文