Keyboard input/Flush the keyboard buffer: Difference between revisions
Content deleted Content added
Line 833: | Line 833: | ||
// |
// |
||
// setvbuf(stdin, NULL, _IONBF, 0); |
// setvbuf(stdin, NULL, _IONBF, 0); |
||
// Now we are able to check if the buffer is really empty. |
// Now we are able to check if the buffer is really empty. |