Guest_imported
New member
- Jan 1, 1970
- 0
I have a file called file.txt and I it contains the following text:
2 22 34 32
23 12 14 11
22 45 65 76
3 4 55 64 12
I want to be able to read each number from each line...How would I read each NUMBER ( which are each seperated by spaces)? All I can figure out if to read the whole line, but I can't figure out how to read each number seperately...thanks..
2 22 34 32
23 12 14 11
22 45 65 76
3 4 55 64 12
I want to be able to read each number from each line...How would I read each NUMBER ( which are each seperated by spaces)? All I can figure out if to read the whole line, but I can't figure out how to read each number seperately...thanks..