E
elitecodex
Hello everyone.
I have a fstream object that i am using... good() returns false. But I
test for both badbit and failbit in the rdstate() and neither appear to
be there... so something seems to be failing elsewhere.
Its a regular text file and there is some text in it.
My question is how can I determine what happened... why good() is not
good and any kind of error message or error code would be great. Do I
have that available to me? If so, what subject do I research to obtain
this information.
Thanks in advance!
I have a fstream object that i am using... good() returns false. But I
test for both badbit and failbit in the rdstate() and neither appear to
be there... so something seems to be failing elsewhere.
Its a regular text file and there is some text in it.
My question is how can I determine what happened... why good() is not
good and any kind of error message or error code would be great. Do I
have that available to me? If so, what subject do I research to obtain
this information.
Thanks in advance!