Advertisement
Guest User

Untitled

a guest
Sep 14th, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. void clear_stdin_buffer() {
  4. char ch;
  5. while( (ch = getchar()) != '\n' && ch != EOF );
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement