The standard output stream is buffered I/O
Do not flush
until the buffer is full or until you meet the opening character.
To make flush
automatically whenever printf()
is done
fprintf (stderr, "right out");
printf ("fflush will pick you up");
fflush(stdout);
setbuf(stdout, NULL);
© 2024 OneMinuteCode. All rights reserved.