A lot of people used to say: "I wish I had that kind of help when I was starting". I think that I have it. Thanks a lot for your answer about !cin.eof .
Franjo