?? 航空客運訂票系統.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 + -