• C++ Programming for Financial Engineering
    Highly recommended by thousands of MFE students. Covers essential C++ topics with applications to financial engineering. Learn more Join!
    Python for Finance with Intro to Data Science
    Gain practical understanding of Python to read, understand, and write professional Python code for your first day on the job. Learn more Join!
    An Intuition-Based Options Primer for FE
    Ideal for entry level positions interviews and graduate studies, specializing in options trading arbitrage and options valuation models. Learn more Join!

URL read in c++

sak

Joined
8/16/09
Messages
84
Points
18
Does anyone have a sample code to read contents of a web page as strings into c++. I want to be able to run the code on visual studio 2010 so don't want to have libraries present only on Linux machines.

Thanks
Sak
 
Asset time series reader and parser from the web using the curl.
 

Attachments

  • curl_use.cpp
    3.3 KB · Views: 152
I think the thing you might want to start with is wget, a tool that downloads a site into a collection of files.
Or alternatively you can build from scratch using serf.

Both are optional part of the Cygwin package and thus workson Windows using it's libraries.
Although the tools diverge for mainstream Unix in some ways they are an indispensable part of being a Windows C++ developer, or indeed a serious developer in any language under Windows.
 
Back
Top