Trying to read data into a structure...afraid I might have it ALL wrong. Here's the code snippets:
Code:
typedef struct
{
char LineNumber[MAX];
char StructureName[MAX];
double Span;
} HiVLine[MAX];
...
int num = 0;
while(fscanf(cfPtr, "%s%s%d", HiVLine[num].LineNumber, HiVLine[num].StructureName, HiVLine[num].Span) != NULL)
{
num++;
}