unbuffered C
Language: C
#include<stdio.h>
#include<stdlib.h>
int main()
{
//raw input demonstration
char c;
printf("\nEnter input(No need to hit Enter :))\n");
system("stty raw");
c = getchar();
system("stty cooked");
printf("\nyour value is %c\n", c);
return 1;
}
Reveal More
Added almost 2 years ago by
kiranputtur
