GOTO vs NON-GOTO clever tricks
Jonathan Gingerich
jon at sdcrdcf.UUCP
Sat Sep 21 06:13:23 AEST 1985
a
A compact way to test that ch is not one of ('1','2','3','4','5','E') is:
while (!index("12345E", ch = getch()))
More information about the Comp.lang.c
mailing list