For some reason I can't find a development package for cURL for mingw32 so I decided I would just pipe the output to my program, simple enough?
What I want my program to do is grab some stock information from yahoo's finance service. So I tested out curl to find the right command:
The output is formatted perfectly for me, as a csv file.
Then I pipe it to my program, which just cycles through all of the argv's for the time being is this is what I get, COMPLETELY different.
int main (int argc, char *argv)
for (i = 0; i < argc; i++)
curl "http://download.finance.yahoo.com/d/quotes.csv?s=S&f=sl1d1t1c1ohgv&e=.csv" | stock.exe
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 61 0 61 0 0 435 0 --:--:-- --:--:-- --:--:-- 782