I was wondering if anyone can help me - I don't really know what I'm doing with strings, and have been struggling to work this one out on my own.
I have a .txt file consisting of 10 lines of 15 numbers per line (some 1 digit, some 2), with numbers separated by spaces. I want to put these numbers into an array, eg. I want an array
int numbers[10][15];
where numbers[i][j] has the value of the jth number from the ith line of my .txt file.
How can I go about doing this? Please try and keep things fairly basic
Cheers