Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C++ interpretation of a HTML File

Status
Not open for further replies.

thebarslider

Programmer
Dec 21, 2001
80
GB
Is it possible to get C++ to get a HTML File from the internet and then search it for particular details?
 
Yes.

You can use sockets or even a higher level API like WinINet depending on your needs.

Then of course parsing will be involved. There are HTML tools and libraries as well, like Lib
-pete
 
I will be using MFC with C++ in Visual Studio .NET? I wish to download the pages and then parse them. What is a socket? Where can i get information on these? What API can i use?
 
The WinInet API has MFC wrapper classes


CInternetSession
CHttpConnection


etc.

If you do a managed C++ project you can access the .NET libraries which will be somewhat simpler and probably have the HTML parsing built into them as well.

Go to msdn.microsoft.com if you don't have MSDN on CDROM and you will find all sorts of documentation for how to do almost anything in windows.

-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top