Reading large complicated data files
I have a little experience with C but I am having problems with a particular data file.
This file contains 3700+ entries which are split into 14 columns of mixed integer and floating point numbers. The main problem with the file is that not all of the columns contain data. This has given me endless problems since I would like to use the fscanf() function but I believe all of the arrays must be declared in this function. Is this the case? The first six columns are all that I require and there is no problem here as every entry has data within these columns, it is the whitespaces between other columns which are the problem.
Does anyone have any other ideas as to how I could read this data?
Thanks for your time,