I've been reading a lot of info on how to take a webpage and have a program turn it into a text file, but none of it makes sense. Is it possible to create a C++ program, that, as part of the program, it takes an html file from a webpage (in text format preferably) and reads from it? And if it is possible, how do I do that? I'm not using linux, It would be in a C++ program run in Windows 7 Ultimate.
What exactly do you want to know? Are you asking how to access an html file on a server somewhere? Or do you want to know how to read a file? Do you want to strip the HTML out of the file and just be left with text.
I want to access an html file like http://www.cats.com/, then read the file (in this case, the index.html file), and or, write it to a text file. I don't care about the html code within the html file. I don't know what difficulties are involved, but I'd prefer to have it read the html file directly and then search for something like "Rosanna has this many cats" and have it gather the info from the number of cats she has, and store that (and or other text) as a variable to be used in whatever fashion I choose (either to be manipulated and or stored to a text file in a specified way). I was only thinking about the whole html file to find the appropriate data first, then take that specific data, and work with it as I see fit.
Ultifinitus, I don't, at all, understand your reply. If I knew what libs those were, where they are, or how to use them, I wouldn't be asking about them here.