Hello,
I'm learning c myself (not c++, I'm trying not to use objects)
I have have a bunch of text files (created by a perl program)
They contain a bunch of letters and random numbers from 0 to 9
I'm only interested in the numbers and nothing else
here's and example of the contents (i just made it up)
5 7 2 4 6
0 2 E D
0 A D E
6 D D
7 D K
5 F
How do I go about loading just the numbers into an array?
so I want an array that that has
5 7 2 4 6 0 2 0 6 7 5
Basically the above is an example, there can be more per line and more lines, but I just need the numbers.
Any examples/help appricated