I have a file which has several lines and each lines have unknown integer values which are separated by space characters. I want to assign each line's integers to different lines of an array. I tried to find some example code but there was no.
example input file is:
1 23 4
44 12
8 10 2
66 3 22 5