Everywhere I declare student[i].score I keep getting these error messages:

line 46: error C2676: binary '[' : 'data' does not define this operator or a conversion to a type acceptable to the predefined operator
line 46: error C2228: left of '.score' must have class/struct/union
line 56: error C2676: binary '[' : 'data' does not define this operator or a conversion to a type acceptable to the predefined operator
...