简单死了 最多3分钟等着 110101北京市东城区Press any key to continue #include #include main(){ char *p,str[256]={0},youbian[10]={0}; FILE *fp=fopen("data.txt","r"); gets(youbian); while (fgets(str,sizeof(str),fp)) {if (strstr(str,youbian)!=NULL){ p= &str[8]; printf("%s\n",p); ...
|