Mypic_normalkiranputtur

http://twitter.com/kiranputtur

unbuffered 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 over 2 years ago
Post Code