Is there a function that returns the code of a webpage as a buffer or string? If so, what library is it in? I did some research and found a bunch that could be downloaded, but I want a built-in one, if possible.
Webpage parsing
Started by Macoder, Oct 30 2009 01:14 PM
3 replies to this topic
#1
Posted 30 October 2009 - 01:14 PM
|
|
|
#2
Posted 31 October 2009 - 11:52 AM
C/C++ doesn't have any library function to get a complete web page, since that is highly OS dependent. You can however use the sockets library of the system you are using to achieve the same thing.
#3
Posted 31 October 2009 - 12:38 PM
Use boost asio library, which is a cross-platform C++ library for network programming, and it's easy to use.
Boost.Asio
Boost.Asio
#4
Posted 02 November 2009 - 09:35 AM
ON Windows, just use Win32 api (1 line of code or 5 with COM)


Sign In
Create Account


Back to top









