I want to load a webpage from an URL as string then parse the information contained, how do I do that in windows?

Viewed 39

So this is what I want to do. I want to design a GUI windows application, using old school C. C++ also possible but there is going to be relatively light coding involved overall C/C++ difference is going to be insignificant. I'm not going to have 10 different modules and 10k lines of code.

The GUI will be a minimalist form, where I get to have views like the old Visual Studio 6.0 days, where I get to display information.

So under the hood, the logic will be:

Read the target file, html or whatever as strings, and find the relevant information using basic functions like strcmp or char by char comparison using loops.

It may sound simple enough, but in actuality, it could be a nightmare for someone like me who has zero experience in developing windows application.

So, my question would be, is there a function by which I could call to open up an url and pull all the textual content into a byte cache or a file object?

If it's not so simple, what API or DK should I be looking into?

Oh and, I will not look into dot net.

0 Answers
Related