|
If you don’t fflush, the result will be output when the system is free. This is not obvious on the MS system, but it is more obvious under linux/unix, because under linux/unix, stdout is used to reload. Redirection, such as file or printer, etc. Assuming that the redirection is a file, printf is output to the file. If you do not execute the fflush statement, the actual content of the file may be changed at some later time. |
|