honestly I'm just starting to learn c ++ .
I am currently a project for my university in which I developed most of the functions required, but i fail in the moment of opening the file and read it into an array.
Why did you choose to store the file in such an unusual format? Why do you use arrays of digits instead of actual numbers? Just separate the output by spaces and use actual numbers, and your problem is much easier to solve.
1st, your title asks about assigning the numbers to a struct, here you say an array.
2nd, It truly depends on how you interpret the numbers. is each digit a separate number as in 0,1,1,0,5,5,2,0,1,8 ? so that you have 9 sets of 10 numbers, or is each line a number so that you have 9 numbers total? Whenever I see a large number that starts with zero I have to ask. I think it would be easier to use some type of delimiter. (space, comma, tab, character)
3rd Your struct has 3 variables, you have anywhere from 9 to 90 numbers to go in the struct.
If you "developed" the functions, you should be able to offer us more information to work with...