I was told that I should use winsock, but I do not know where to start. For example, I am trying to access, say http://www.newegg.com/ , I am trying to get the textual name of only three products on the first page, Any help is appreciated .: D
I would also recommend libcurl for this kind of thing.
You can use the cURL command-line tool to generate example code, which is useful for experimentation.
W3.org itself provides sample C / C ++ libraries for Http requests.
Find them here
In particular, find HTTPReq.c
boost poco. . Boost , -. Poco libraru NetSSL, .
P.S. boost:: spirit -, ...
.
http get
: - http://www.esqsoft.com/examples/troubleshooting-http-using-telnet.htm
QNetworkAccessmanager Qt framework.
, ++ - , , , , , (, ) .
, WINSOCK , , boost asio.
async http: http://www.boost.org/doc/libs/1_37_0/doc/html/boost_asio/examples.html
: http://www.boost.org/doc/libs/1_37_0/doc/html/boost_asio.html
++, , python .
httplib Python , , .. Python , ++, , , , python - , ++. , , , , "" . , , CNN Money , IIRC - 100 python.
Source: https://habr.com/ru/post/1743756/More articles:Как я могу что-то сделать ~ после того, как событие произошло на С#? - c#Using html5 localstorage to retrieve data from a server, to allow editing and adding a data source, and then save it back to the server - javascriptHow to use watin with webbrowser control? - .netWatiN and .net winforms WebBrowser management - is DialogWatcher possible? - webbrowser-controlIs there any document based database CMS? - content-management-systemHow to invalidate OutputCache in webfarm? - cachingDoes Watir work under ruby 1.9.1? - ruby | fooobar.comБесплатные или открытые словари - dictionaryHow to enable .com key for UITextField keyboard? - iphoneHow to track the flow of raw (character) devices on Unix? - unixAll Articles