E
eap.britzkrieg
Hello,
I wanna read characters from stdin as long as I put them on it from
keyboard.
For example:
If I use
fscanf(stdin, "%c", &c);
when I put 'w', for instance, fscanf() waits until I press Enter, but
I don't wanna that this occur.
If I press 'w', I wanna that the program uses 'w' immediately.
Thanks a lot.
I wanna read characters from stdin as long as I put them on it from
keyboard.
For example:
If I use
fscanf(stdin, "%c", &c);
when I put 'w', for instance, fscanf() waits until I press Enter, but
I don't wanna that this occur.
If I press 'w', I wanna that the program uses 'w' immediately.
Thanks a lot.