To the OP:
Don't write your code like this:
while(os.eof()) , instead write it like jencas did.
Want to know why? Do a forum search on: feof or eof
Edit:: I thought it was safely to assume that the 'oef' in 'os.oef()' is a typo he made.
(Because
AFAIK there is no such data member in the iostream class library)
Last edited by tux4life; Jul 8th, 2009 at 11:35 am.
Reputation Points: 2125
Solved Threads: 243
Postaholic
Offline 2,105 posts
since Feb 2009