📄 航空客运订票系统.cpp
字号:
// 航空客运订票系统.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "iostream.h"
#include "HK.h"
void main()
{
int i;
int n;
char c='y';
Sqlist L; //航线用顺序表存储
cout<<"========================================="<<endl;
cout<<"建立航空客运订票系统"<<endl;
cout<<"输入此飞机场的航线数"<<endl;
cin>>n;
for(i=1;i<=n;i++)
CreateRoutes(i,L);
L.lenght=n; //记录航线数
cout<<"Good! 建立好了航空客运订票系统"<<endl;
cout<<"========================================="<<endl;
cout<<"*******************************"<<endl;
cout<<"菜单选择项"<<endl;
cout<<"1: 查询航线的信息"<<endl;
cout<<"2: 办理订票业务"<<endl;
cout<<"3: 办理退票业务"<<endl;
cout<<"0: 退出系统"<<endl;
cout<<"*******************************"<<endl;
Menu_select(L);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -