Page 1 of 1

find new line

Posted: Fri May 18, 2007 6:14 am
by itsmani1
Hi
I want to read this file line by line, I mean 1st want to read 1st line and then 2nd line in file.
any solution.

File:
2/17/2005, 25.71 , 25.86 , 25.60 , 25.65 ,67024800
2/18/2005, 25.64 , 25.65 , 25.40 , 25.48 ,77091100

Posted: Fri May 18, 2007 6:21 am
by onion2k
fgets() .. or, if it's a CSV file like it appears to be, fgetcsv().