diff --git a/收藏夹56.txt b/收藏夹56.txt new file mode 100644 index 0000000..a040b31 Binary files /dev/null and b/收藏夹56.txt differ diff --git a/究极翻译.cpp b/究极翻译.cpp index e72b409..ea00449 100644 --- a/究极翻译.cpp +++ b/究极翻译.cpp @@ -8,7 +8,7 @@ struct word { char chinese[100]; char english[100]; - char mean[100]; + char liju[100]; char shuxing[100]; }; @@ -36,7 +36,7 @@ void fileclose(FILE *fp)// void shoucan(word temp)//ղصĵ { FP=fileopen(shoucanjia); - printf("%s %s %s %s ",temp.english,temp.chinese,temp.mean,temp.shuxing); + printf("%s %s %s %s ",temp.english,temp.chinese,temp.liju,temp.shuxing); fwrite(&temp,sizeof(temp),1,FP); fileclose(FP); @@ -57,12 +57,16 @@ void findlike()// word temp; int n=0,i=0; printf("PLEAES INPUT ENGLISH:"); - printf("뵥ʣ"); - printf("˸˺һ\n"); + printf("룺"); + + printf("˸񣺲鿴ղؼڵ\n"); while(1) { int n=0; printf("\n\n\nһո "); + if(i==0) + printf("˸񣺲鿴е"); + else printf("˸˺һ"); char c=getch(); system("cls"); @@ -96,7 +100,7 @@ void findlike()// if(strcmp(temp.english,tempenglish)==0) { - printf("\n:%s Ӣ:%s :%s :%s\n",temp.chinese,temp.english,temp.mean,temp.shuxing); + printf("\n:%s Ӣ:%s :%s :%s\n",temp.chinese,temp.english,temp.liju,temp.shuxing); n=0; } else @@ -108,7 +112,7 @@ void findlike()// } else { - printf("\n:%s Ӣ:%s :%s :%s\n",temp.chinese,temp.english,temp.mean,temp.shuxing); + printf("\n:%s Ӣ:%s :%s :%s\n",temp.chinese,temp.english,temp.liju,temp.shuxing); n=1; } } @@ -135,6 +139,9 @@ void change()// { n=1; printf("\n\n\nһո "); + if(i==0) + printf("˸񣺲鿴е"); + else printf("˸˺һ"); char c=getch(); stop: system("cls"); @@ -173,7 +180,7 @@ void change()// if(strcmp(temp.english,tempenglish)==0) { - printf("\n:%s Ӣ:%s :%s :%s\n",temp.chinese,temp.english,temp.mean,temp.shuxing); + printf("\n:%s Ӣ:%s :%s :%s\n",temp.chinese,temp.english,temp.liju,temp.shuxing); printf("\n-------1ղ"); printf("\n-------0޸"); printf("\n-------"); @@ -186,16 +193,17 @@ void change()// else if(c==48)//޸ĵ { // printf("%d",sizeof(word)); - // printf("%s %s %s %s ",temp.english,temp.chinese,temp.mean,temp.shuxing); + // printf("%s %s %s %s ",temp.english,temp.chinese,temp.liju,temp.shuxing); printf("\n޸ĺӢ:"); scanf("%s",temp.english); printf("޸ĺ˼:"); scanf("%s",temp.chinese); - printf("ӣ"); - scanf("%s",temp.mean); printf("ԣ"); scanf("%s",temp.shuxing); - printf("%s %s %s %s ",temp.english,temp.chinese,temp.mean,temp.shuxing); + printf("ӣ"); + fflush(stdin); + gets(temp.liju); + printf("%s %s %s %s ",temp.english,temp.chinese,temp.liju,temp.shuxing); // printf("%d",sizeof(word)); // printf("%d",sizeof(temp)); fseek(fp,-sizeof(word),SEEK_CUR); @@ -220,7 +228,7 @@ void change()// } else { - printf("\n:%s Ӣ:%s :%s :%s\n",temp.chinese,temp.english,temp.mean,temp.shuxing); + printf("\n:%s Ӣ:%s :%s :%s\n",temp.chinese,temp.english,temp.liju,temp.shuxing); n=1; } } @@ -245,10 +253,11 @@ stop: printf("\n"); scanf("%s",temp.english); printf("˵ʵģ"); scanf("%s",temp.chinese); - printf("䣺"); - scanf("%s",temp.mean); printf("ԣ"); scanf("%s",temp.shuxing); + printf("䣺"); + fflush(stdin); + gets(temp.liju); fwrite(&temp,sizeof(temp),1,FP); printf("ӳɹ"); fileclose(FP); diff --git a/究极翻译.exe b/究极翻译.exe index 7e6bef0..821773a 100644 Binary files a/究极翻译.exe and b/究极翻译.exe differ diff --git a/翻译文档31.txt b/翻译文档31.txt new file mode 100644 index 0000000..fc9c81d Binary files /dev/null and b/翻译文档31.txt differ