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

//ÏÔʾ²éѯ¼Ç¼
void FQUE() {
int n=1;
system("cls");
printf("\t*****************************************\n");
printf("\t* ²éѯ¼Ç¼ *\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**************»Ø³µ¼ü·µ»Ø*****************\n");
system("pause");
return;
}