exit.cpp
来自「这是一个记忆单词的小系统 和电子词典的功能差不多 但是不用花钱买 对记忆单词特别」· C++ 代码 · 共 29 行
CPP
29 行
#include "1.h"
void exit (void)
{
C:
system("cls");
cout<<endl<<endl<<endl<<endl;
cout<<" ________________________________________"<<endl;
cout<<" | |"<<endl;
cout<<" | 感 谢 您 登 录 心 莹 背 单 词 程 序 |"<<endl;
cout<<" | |"<<endl;
cout<<" ----------------------------------------"<<endl;
cout<<endl<<endl<<endl<<endl;
cout<<" 确定退出,y/n?"<<endl<<endl;
cout<<" ";
string t;
cin>>t;
system("cls");
if(t=="y") system("exit");
else if(t=="n") welcome();
else
{
cout<<" 您输入的信息错误,请重新输入..."<<endl;
cout<<" 请按回车键继续..."<<endl;
while(!kbhit());
getchar();
goto C;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?