NEW
  AUTO 3,1
#include <stdio.h>

int main(int argc, char *argv[])
    { 
    char c=getchar();
    switch (c)
        {
        case 13:
            puts("ENTER pressed");
            break;
        case 'C':
        case 'c':
            puts("'c' or 'C' pressed");
            break;
        default:
            puts("something else pressed");            
            break;
        }
    }
MAN
TEXT root/ctest/testsc.c
