📄 entry.cpp
字号:
#include "1.h"
void entry(void)
{
w:
cout<<" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"<<endl;
cout<<" | 心莹背单词 |"<<endl;
cout<<" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"<<endl<<endl<<endl<<endl;
cout<<" 欢迎您加入了心莹(先赢)背单词的行列,相信我们,相信自己,会在心莹的"<<endl;
cout<<" 陪伴下有个新的气息.在英语上突破这一难题,就是单词.来吧,我们开始吧~!~"<<endl<<endl<<endl<<endl<<endl;
cout<<" 1.背单词"<<endl;
cout<<" 2.增加新词"<<endl;
cout<<" 3.英汉词典"<<endl;
cout<<" 4.汉英词典"<<endl;
cout<<" 5. 退出"<<endl;
string d;
cin>>d;
system("cls");
if (d=="1") recite(); //调用recite函数
else if (d=="2") add();
else if (d=="3") eng_chi();
else if (d=="4") chi_eng();
else if (d=="5") exit();
else
{
cout<<" 您输入的信息错误,请重新输入......."<<endl;
cout<<" 请按回车键继续..."<<endl;
while(!kbhit());
getchar();
system("cls");
goto w;
}// 存在不是上述数字的问题~@@!!!
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -