When I open a file using ifstream, the open sometimes fails. I use fail() to detect this. But I want to know why it failed and fail() only returns a dumb "yes" or "no". Is there a way to find out?
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 2 of 2
|
Click Here to Expand Forum to Full Width |