zildjohn01
Programmer
hi, i have a question about console input. i have tried the various functions such as
fread(&nextchar, 1, 1, stdin);
nextChar = getchar();
nextChar = _fgetchar();
etc...
and all seem to wait until the user presses 'enter' to start returning the chars to my program. is there any way to 1) turn off echoing input to the output, and 2) get chars before enter is pressed?
fread(&nextchar, 1, 1, stdin);
nextChar = getchar();
nextChar = _fgetchar();
etc...
and all seem to wait until the user presses 'enter' to start returning the chars to my program. is there any way to 1) turn off echoing input to the output, and 2) get chars before enter is pressed?