Keyboard input/Flush the keyboard buffer: Difference between revisions
Content deleted Content added
Line 823: | Line 823: | ||
// fflush(stdin); |
// fflush(stdin); |
||
// Always works. |
// Always works. Readed characters may remain somethere in RAM. |
||
// remain somethere in RAM. |
|||
// |
// |
||
fseek(stdin, 0, SEEK_END); |
fseek(stdin, 0, SEEK_END); |