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.
|
|
|
|
//<2F><>ʾ<EFBFBD><CABE><EFBFBD>ʼ<EFBFBD>¼<EFBFBD><C2BC>
|
|
|
|
|
void FWORD_CO() {
|
|
|
|
|
system("cls");
|
|
|
|
|
int num=1;
|
|
|
|
|
printf("\t*****************************************\n");
|
|
|
|
|
color(5);
|
|
|
|
|
printf("\t* <20><><EFBFBD>ʼ<EFBFBD>¼<EFBFBD><C2BC> *\n");
|
|
|
|
|
color(16);
|
|
|
|
|
printf("\t*****************************************\n");
|
|
|
|
|
color(6);
|
|
|
|
|
struct w_word *fword=(struct w_word *)malloc(sizeof(struct w_word));
|
|
|
|
|
char input[50];
|
|
|
|
|
FILE *fp7;
|
|
|
|
|
fp7 = fopen("word_coll.txt", "r");
|
|
|
|
|
if (fp7 == NULL) {
|
|
|
|
|
color(4);
|
|
|
|
|
printf("\t* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD><DEB5><EFBFBD> *\n");
|
|
|
|
|
color(16);
|
|
|
|
|
system("pause");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
while (!feof(fp7)) {
|
|
|
|
|
if(fread(fword, sizeof(struct w_word), 1, fp7) != NULL && input[0] != '\0') {
|
|
|
|
|
printf("**************%d**************\n", num);
|
|
|
|
|
printf("\t");
|
|
|
|
|
puts(fword->word_);
|
|
|
|
|
printf("\t");
|
|
|
|
|
puts(fword->trans_);
|
|
|
|
|
num++;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
printf("\t**************<2A>س<EFBFBD><D8B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>*****************\n");
|
|
|
|
|
system("pause");
|
|
|
|
|
return;
|
|
|
|
|
}
|