VS 2003 File I/O Problem
std::ifstream fin;
fin.open("myfile.txt");
while(!fin.EOF)
{
//input the file here
}
In VS2003 there is no .EOF operator. I need to know how to loop through the file until I reach the end. I know that I can do it with istream_iterator and copy the stream into an STL container...I was hoping to just do it with fin.getline and loop until the end of the file. Any help would be appreciated. Thanks

