C/C++: Flush output before abnormal termination
Is there a need to explicitly flush output streams before calling abort()
to avoid loss of output?
As I understand, with stderr there is no buffering, so calling abort after
output to stderr/cerr should be ok. How about stdout/cout, or files that I
open?
No comments:
Post a Comment