Hello All:
I used to read *.txt file, with one column, into C/C++ program ?
Now from Yahoo downloading stock prices, they are in EXCEL *.csv format. How can read them into C/C++ program?
--Zhao
Hello All:
I used to read *.txt file, with one column, into C/C++ program ?
Now from Yahoo downloading stock prices, they are in EXCEL *.csv format. How can read them into C/C++ program?
--Zhao
Read up to the comma for each column. Start over at the end of the line.
Definition: Politics -- Latin, from
poly meaning many and
tics meaning blood sucking parasites
-- Tom Smothers
Your excel .csv file 'may' have strings defined by " " surrounding them - this i think is the default when exporting- so you need to be aware of that when you search the lines of your .csv to obtain the field content
Thought for the day:FLTK: "The most fun you can have with your clothes on.""Are you sure your sanity chip is fully screwed in sir?" (Kryten)
Stroustrup:
"If I had thought of it and had some marketing sense every computer and just about any gadget would have had a little 'C++ Inside' sticker on it'"