Well your while not eof implies that you need to read input inside the loop.
Did you even want a loop here?
Salem
Posting Sage
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953
Perhaps your While not eof should be before your get input.
Salem
Posting Sage
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953
I guess my issue is...What are you "getting"?
Something from the file :)
The teacher means that you'll have to read something from the file in the while !eof loop.
So something like :
While not eof
read stuff from file
do stuff
Nick Evan
Not a Llama
10,112 posts since Oct 2006
Reputation Points: 4,142
Solved Threads: 403