holy wow, all i can say, first thing you need to look at, was double was just my choice at the time cause i saw big number, your obviously going to be needing to use string's as variabe in
the struct for some of this stuff.
so you may need multiple loops to read the seperate data in.
where it differs.
i see that you have that many columns, so that means
ScheduleTime, ,Entry Sensor #1,Cup Sensor #1,Entry Sensor
#2,Cup Sensor #2,Entry Sensor #3,Cup Sensor #3,Entry Sensor
#4,Cup Sensor #4,Entry Sensor #5,Cup Sensor #5,Entry Sensor
#6,Cup Sensor #6,Entry Sensor #7,Cup Sensor #7,Entry Sensor
#8,Cup Sensor #8,Automatic Door #1,Automatic Door
#2,Automatic Door #3,Automatic Door #4,Automatic Door
#5,Automatic Door #6,Automatic Door #7,Automatic Door
#8,Reinforcement Counter for ArmFlag #1,Reinforcement Counter
for ArmFlag #2,Reinforcement Counter for ArmFlag
#3,Reinforcement Counter for ArmFlag #4,Reinforcement Counter
for ArmFlag #5,Reinforcement Counter for ArmFlag
#6,Reinforcement Counter for ArmFlag #7,Reinforcement Counter
for ArmFlag #8,Interval Timer #1,
you will need that many variables inside your struct.
each one corresponding to the correct data type
or they wont be read in correctly.
what i recommend you do is to read the data in gy using getline
and using ',' as a delimiter.
a loops containing as many of these as need
getline(in , STRUCTMEMBER[i].data1, ',');
to read each line will be required, then you will
have to use your brain to understand that
STRUCTMEMBER[0 thru size of struct array].firstvariable will
contain everything under the ScheduleTime column if you read
in the data correctly.
im out the door on the way to work right now so if
no one give you a better answer by the time i return,
i will prolly end up going through yoru code and making
some changes to help you better understand.