#include<stdio.h> #include<string.h> int main() { int i=0,zlen=1; char temp[100],str[101][10]={"asdf","dfsvfgv"}; /*注:参照此格式*/ while(scanf("%s",temp)!=EOF) { if(strcmp(temp,"QUIT")==0) break; .....................