You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
646 B

6 years ago
//<2F><>ʾ<EFBFBD><CABE>ѯ<EFBFBD><D1AF>¼
void FQUE() {
int n=1;
system("cls");
printf("\t*****************************************\n");
printf("\t* <20><>ѯ<EFBFBD><D1AF>¼ *\n");
printf("\t*****************************************\n");
struct w_word *fque = (struct w_word *)malloc(sizeof(struct w_word));
FILE *fp7;
fp7 = fopen("query log.txt", "r");
while (!feof(fp7)) {
if(fread(fque, sizeof(struct w_word), 1,fp7) != NULL) {
printf("********%d********\n", n);
n++;
printf("\t");
puts(fque->word_);
printf("\t");
puts(fque->trans_);
}
}
printf("\t**************<2A>س<EFBFBD><D8B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>*****************\n");
system("pause");
return;
}