S
Steve Keller
How can I get the reason for a file operation failure, say after
fstream:
pen() or fstream::read()?
In C, after fopen(), fread(), etc. you can check errno or get a
message using perror() and strerror().
I cannot find any equivalent for C++ fstreams.
fstream:
In C, after fopen(), fread(), etc. you can check errno or get a
message using perror() and strerror().
I cannot find any equivalent for C++ fstreams.