How do I check to see if an ifstream object has reached the end of file?
I expected there to be an "atEnd()" function or something, but no such thing exists in the ifstream class, it seems, so how does one check to see if its reached the end of the file yet?