PDA

Click to See Complete Forum and Search --> : EOF


BoB
Jan 8th, 2001, 06:00 PM
how do you do eof in c++ is in infile.eof or what i haev been trying for hours and still cant get it ..

do
{



}while(infile != infile.eof);


is that how some one help me here

parksie
Jan 9th, 2001, 12:17 PM
while(!infile.eof()) {
...
}

BoB
Jan 9th, 2001, 03:03 PM
thank you i will work on that