Hello,
My fstream.operator!() keeps coming up true right after opening the file.
The path is valid and, as far as I know, my application should have access to it.
In other words, why does this
Keep throwing for me, regardless of what file fpath specifies? I'm running this in Vista, and I have the application set to run under administrator privileges.Code:std::fstream fs(fpath.c_str(), std::ios::binary); if(!fs) throw std::string("Bad file path.");