Input numbers without using Enter [c] -
how input number of digits without using enter can enter:
scanf("%4d",&num); so how can without press enter?
to avoid need hit enter need disable icanon mode using ioctl system call (or stty command - assuming using linux). want use getchar instead of scanf , own input processing. difficult.
you can maybe @ post:
Comments
Post a Comment