?? posproexit.c
字號:
#include "posProExit.h"
#include "posPublic.h"
int proExit(WINDOW * winmain)
{
int n;
n=MessageBox2("你真的要退出嗎?");
if(0==n)
{
if(barInfoList.count>0)
{
saleRemove(winmain);
}
endwin();
db_disconnect();
free(saleInfo);
free(barInfoList.head);
free(barHang.head);
exit(0);
}
return 1;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -