char papernames[STUNUM][NMLEN], inputname[NMLEN];
int papernum = 0;
printf("\nInput students' names in pinyin ( Input Enter at the beginning of "
"a line to quit):\n");
while(papernum < 60 && gets(papernames[papernum]) != NULL &&
papernames[papernum][0] != '\0')
papernum++;
papernum = 0;
printf("\nInput the student's names in pinyin to search from the list "
"(Enter to quit):\n");