Details
Description
In the current implementation of fileStream::flush()
void fileStream::flush() {
fflush(_file);
}
According to some related documents(http://www.cplusplus.com/reference/cstdio/fflush/) if _file is NULL,
fflush() will flush all open output streams, and _file would be null in some cases.
void fileStream::flush() {
fflush(_file);
}
According to some related documents(http://www.cplusplus.com/reference/cstdio/fflush/) if _file is NULL,
fflush() will flush all open output streams, and _file would be null in some cases.