How to take info from webpage using c++?

For example, in https://www.americasarmy.com/soldier/11235
the program returns the Experience points "431,422" (or a new value at a later date) whenever I open the program. I know that c++ is not appropriate for this but just wanted to know if possible.
help please
Use curl https://curl.haxx.se/libcurl/ to grab the webpage. Search the text for the words you're looking for.
You can use the URLDownloadToFile function to download the file if you use MS Windows.
https://msdn.microsoft.com/en-us/library/ms775123%28v=vs.85%29.aspx

Then you need to find the two numbers inside the span tag - probably with regular expressions.
<span class="ng-binding">431,422</span>

Topic archived. No new replies allowed.