Click here to Skip to main content
14,454,912 members
Rate this:
Please Sign up or sign in to vote.
What are the best tools or lessons, books or tutorials for learning how to properly do a web scraping/parsing of stock market sites using C++ only, thanks in advance.

What I have tried:

I'm looking for a good C++ library for web scraping.
It has to be C++ and nothing else so please do not direct me to Options for HTML scraping or other SO questions/answers where C++ is not even mentioned.
Posted
Updated 14-Feb-20 9:56am
Comments
Richard MacCutchan 14-Feb-20 14:10pm
   
C++ does not easily lend itself to such a task, as you would most likely need to write most of the access code yourself. The .NET framework has classes that make this quite a simple task, so you could switch to C# or try with C++/CLI.
Rate this:
Please Sign up or sign in to vote.

Solution 1

You might us a HTTP library (or do you want to write it yourself?) for the task. Have a look at A list of open source C++ libraries - cppreference.com[^].
   
Rate this:
Please Sign up or sign in to vote.

Solution 2

In C++/MFC you can use CInternetSession and the CHttpFile classes
   
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100