Getchar w/wout echo

Doug Gwyn gwyn at smoke.ARPA
Sat Aug 27 10:32:24 AEST 1988


In article <624 at proxftl.UUCP> bill at proxftl.UUCP (T. William Wells) writes:
>#define getchar()       (putchar(getchar()))

Ahem.  Consider (in UNIX shell notation):
	filter <infile >outfile

There really is no way to do this right in the application code;
it has to be dealt with in the run-time environment.



More information about the Comp.lang.c mailing list