I'm not sure how this may be done.
I've tried checking the FAQ, Getting a number or a string from the user, etc, can't quet figure it out.
I know the exact format of the input file, and I want to read in the first 6 columns only. ie:
I have a structture for the 1st 6 columns:Code:month 1 3 4 5 6 77 8 99 day 2 5 5 66 7 7 7 0
I only want to fill the structure and then move on to the next row.Code:struct EDFSection { char Param[20]; char Label[3], SFactor[4], SigBits[2]; int Bit30, Bit31; };
desired output:
It's a text input file.Code:month 1 3 4 5 6 day 2 5 5 66 7



LinkBack URL
About LinkBacks



I used to be an adventurer like you... then I took an arrow to the knee.