Skip to content

Instantly share code, notes, and snippets.

@leonardocordeiro
Created May 26, 2014 14:24
Show Gist options
  • Save leonardocordeiro/4e75b92d6efec41f8b81 to your computer and use it in GitHub Desktop.
Save leonardocordeiro/4e75b92d6efec41f8b81 to your computer and use it in GitHub Desktop.
Example of dirty buffer
#include <stdio.h>
main(){
int i;
for(i = 0; i < 5; i++){
getchar();
fflush(stdin);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment