Reading Values from Text File into Array

Ok I basically need someone to explain to me how to do this. If anyone has a link to an example of this or can toss me a really quick example. I mean I know how basic arrays work and how to read and write data from text files but I have no idea how to combine the two.

Again I need to know how to read values from a text file so let's say...
0 7
9 9
8 9

in a text file called data.txt and have this data be stored into an array, and then have the program display that text.

Please help! I have already read the tutorial on arrays on here and the tutorial on output input files but nothing explains combo of the two.
Topic archived. No new replies allowed.