Ok so im working on a project... here are the specs:

I'm given a data.txt file with the following info:


0 || person_name || status

the 0 represents a number between 0-228 (not all the numbers in between)... basically this number is an "Arrival time" (this program is a simulation)..

The status field is tells what kind of person they are (specificly alumni , etc)

Basically my question is this... how do I read in data from a outside source? I want to store the numbers into an array, the name into a seperate array, and finally the status in another. (3 arrays)... How do I do that?


The specific assignment im trying to work on is located here:
http://www.cs.unt.edu/~roden/courses/3400/homework2.txt
and the data file is here:
http://www.cs.unt.edu/~roden/courses/3400/hm2_data.txt


thank you for your time.