in reply to Deleting EOF from a file

Sorry for not expaling it. MY OS is Win2k Professional. This is what I am trying to do when I read a file using a loop "while != eof" then do something. But trick is the file that I am going to read will not have "eof" so I might get into an infinite loop and then I will try to handle this problem. But first I wana create a file that has no eof in it. I hope that explains it.

Replies are listed 'Best First'.
Re^2: Deleting EOF from a file
by Anonymous Monk on Jul 15, 2004 at 17:18 UTC
    You will never find a normal file for while the while ! eof construct is an infinite loop. Maybe you should explain your entire situation. Are you actually going to be dealing with normal files, or are these sockets or some other kind of pseudofile?