Reading HTML code from webpage

I need to write a program to read the HTML code from a webpage and then parse it. I can handle the parsing portion of it, but just need to know how to grab/scrape the HTML code.

This needs to be a C/C++ Win32 application and I am using the MS Visual Studio 2010 compiler.

I can do this easily in Visual Basic by using the INET activeX control but no idea how to do it in Win32 app.

Thanks in advance.

LASims
Check out the cURL library:
http://curl.haxx.se/
cURL would probably be easier, but if you don't want to install anything, use WinINet.
It probably came with your compiler. Just #include<wininet.h> and pass -lwininet to the linker.
Topic archived. No new replies allowed.