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.

36 lines
872 B

//鞫刻데늦션쩌굶
void FWORD_CO() {
system("cls");
int num=1;
printf("\t*****************************************\n");
color(5);
printf("\t* 데늦션쩌굶 *\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* 데늉션쩌굶轟데늦 *\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**************쀼났숩럿쀼*****************\n");
system("pause");
return;
}