ok i know this has been posted before but search wont let my search for eof (or ENd Of File) anyway i need to know when im using ifstream somename(somefile) how to go untill EOF it's been a while for me and this is what i can remember help me out here
that gives an error what am i doing wrong?
gotta see code...
are you putting " " quotes around your file name?
the problem is the EOF statment it dosnt like that im actually using a string for the filename but it finds it none the less.
no... but eof will only work if the file has been opened.
cout << "Yep... it failed.\n";
i got it to work, stupid me you cant capitolize EOF i was doing this
gotta do this
ah... I see...
happens all the time.