As the subject states, I'm trying to read a string of text from file and store it into an array. The text file is structured as follows:

Albert
Bobby
Harry
Terl
...

I've tried much code, but I can't seem to get it to store inside an array for later recall. I would post some code, but it wouldn't be of any benefit since it's just completely wrong. All I get when I scan in the file is just the letters, like this:

a
l
b
e
r
t
...

How can I structure the array to make it store, then print out the whole word and not just the letters?

10-24-2002

Fordy

One easy way is to use strings and a vector....read a line into a string and push it onto the vector.....maybe not the most efficient way...but simple