How can I get a .txt
file and transform it into an integer string?
My program has to get the array that is inside the file .txt
and put inside an array in the program so that I can manipulate the data inside the array. The part of the file opener I've done, but I'm not finding a way to turn the array into .txt
into an array within my program. Please someone help me.
The .txt
contains these data:
0 1 0 0 0 0 0
1 0 1 0 0 0 0
0 1 0 1 1 1 0
0 0 1 0 1 1 0
0 0 1 1 1 1 0
0 0 1 1 1 0 0
0 0 0 0 0 1 1