📄 quit.c
字号:
#include"yy.h"
void quit(NODE *head)
{
char c;
printf("\tWarning: all records in the memory will loss\n");
printf("\tquit?(y/n)\n\t");
c=getch();
if(c=='N'||c=='n')
{printf("\n\n\n\tpress any key to continute...\n\t");
getch();
return;
}
printf("\n\tquit now,byebye!\n\t");
getch();
free_nodes(head);
exit(0);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -