for(t
=line
;(*t
=getc(input
))!=-1;t
++) {
if(*t
==' '&&(t
==line
||t
[-1]==' '))
if(t
[-1]=='\\') /*inexact test*/
while(t
>line
&&t
[-1]==' ')
printf("Too hard for me\n");
while(*s
!=':'&&*s
!='\n'&&s
-u
<SL
) {
printf("Too many facts about one thing\n");
if(perm(u
,m
,tmp
+1,n
-1,select
))
printf("I've forgotten some of it;\n");
printf("I remember %d items.\n", nl
);
info
= "/usr/lib/quiz/index";
if(argc
>1&&*argv
[1]=='-') {
if(find(&argv
[1],argc
-1)==0)
input
= fopen(tmp
[0],"r");
if(*tmp
[select
[0]] == '\0' || *tmp
[select
[1]] == '\0') {
x
= cmp(response
,tmp
[select
[1]]);
if(++score
[i
]>=1 && na
<nl
)
if(*t
==' '&&(t
==r
||t
[-1]==' '))
printf("\nRights %d, wrongs %d, ", rights
, wrongs
);
printf("extra guesses %d, ", guesses
);
printf("score %d%%\n",100*rights
/(rights
+wrongs
));
printf("For example,\n");
printf(" and you answer the ");
printf("\nworks the other way around\n");
printf("\nType empty line to get correct answer.\n");
printf("Bad info %s\n",line
);
printf("I don't know about that\n");