[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
reading char without waiting for \n
HI
I've used getchar() ( which is a macro for getc(stdin) ) to read a char
from the keyboard, but it did not return after a key was pressed.
the function returned only after i pressed <enter>
how do i make it return after a key is pressed ?
Regards
Erez.
begin: vcard
fn: Erez Doron
n: Doron;Erez
org: Savan Communications Ltd.
email;internet: erez@savan.com
title: Asic/Software/Sysadmin
x-mozilla-cpt: ;0
x-mozilla-html: TRUE
version: 2.1
end: vcard