quit.c
来自「大一时课程设计 通信录管理系统 可作为C课程设计的参考」· C语言 代码 · 共 19 行
C
19 行
#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 + =
减小字号Ctrl + -
显示快捷键?