-
Isp
Hello all,
I am trying to write a program in VC++ 6.0 to help me trade shares and keep up to date with stock prices. I don't know how I can acquire these details, although I do know many websites provide this information free of charge.
How do I get this information into my C++ program where I will be able to display it and use it as I please?
Any help will be much appreciated.
:)
-
Re: Isp
Well, if the provider of this data does not provide the information through some form other than the website (they may have a way to obtain the data through webservices, or other form of connection. You will have to ask/query those websites for that info), you will have to download the webpages and parse the pages to extract the data.
OpenURL() is a good starting point, although this won't always work. If the site requires you to logon, it'll be somewhat harder. There are plenty of samples around about how to connect to a website and obtain specific webpages.