01-02-2013 12:41 PM
Hello
I have been attempting to read data from large csv files with 38 columns by reading a line using readline and scanning the linebuffer using scan.
The file size can be up to 100 MB.
Scan does not seem support the large number of fields.
Any suggestions on reading the 38 comma separated fields. There is one header line in the file.
Thanks
Solved! Go to Solution.
01-02-2013 01:18 PM
see if strtok() is useful http://www.elook.org/programming/c/strtok.html
01-02-2013 01:18 PM
Did you consider using the 'rep' modifier? You may find examples in the help, search for 'String with Comma-Separated ASCII Numbers to Real Array'
01-02-2013 01:33 PM
Thanks