You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
734 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/*
建议使用dev c++打开
最佳字体点阵字体6*12
密码:123456
*/
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<time.h>
#include<conio.h>
#include<windows.h>
#include"struct.h" //结构体
#include"function.h" //功能函数
/*主函数*/
int main(){
system("cls"); //清屏
while(1){
switch(menu_select()) //菜单函数
{
case 1:entry_bata();break; //录入
case 2:add_bata();break; //增加
case 3:search_bata();break; //查询
case 4:Look_through();break; //浏览
case 5:sell_ticket();break; //售票
case 6:return_ticket();break; //退票
case 0:exit();return 0; //退出
default: //其他
printf("输入错误...");
getch();
}
}
}