Skip to content

Instantly share code, notes, and snippets.

@Silva97
Created February 14, 2018 01:10
Show Gist options
  • Save Silva97/e27987bffbf106112729596218bce7d2 to your computer and use it in GitHub Desktop.
Save Silva97/e27987bffbf106112729596218bce7d2 to your computer and use it in GitHub Desktop.
/********************
* Exemplo desenvolvido por Luiz Felipe
* Link do vídeo: https://youtu.be/wUrk9AK6ItY
********************/
#include <stdio.h>
char keyboard[BUFSIZ];
int main(){
int x, y;
setbuf(stdin, keyboard);
scanf("%d", &x);
setbuf(stdin, keyboard);
scanf("%d", &y);
printf("> %d, %d\n", x, y);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment