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
Printable View
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
Code:while(!infile.eof()) {
...
}
thank you i will work on that