文件名称:Airline
介绍说明--下载内容均来自于网络,请自行研究使用
通过此系统可以实现如下功能:
1、录入航线信息
每条航线信息包括航班号、飞机号、目的地、订票数、余票数共5项。假设现在有3条航线, 目的地分别是北京, 上海, 广州, 飞机上可乘坐100人( 即初始订票数为0, 余票数为100) , 将这3条航线信息存入文件中。
2、订票业务
客户信息包括姓名, 航班号, 座位号(初始为0), 假设已有3个客户信息存入文件中。
3、退票业务
根据客户提出的航班号, 办理退票, 并删除该客户的信息, 并修改相应航线的订票数和余票数。
4、修改航班信息:当航班信息改变可以修改航班数据文件。
5、输出全部航线信息和全部客户信息。
6、退出系统。-Through this system can realize the following functions:
1, entry route information
Every route information including the flight number, and the aircraft number, destination, booking tickets, the number of votes of more than five. If you have three flights, the destination were Beijing, Shanghai, guangzhou, the plane can take 100 people (or initial booking number is 0, the more votes for 100), will this 3 route information deposited in the file.
2, booking tickets business
Customer information including the name, flight number, seat number (initial 0), assuming that already 3 customer information in a file.
3, refund business
According to the customer put forward flight number, a refund, and delete the customer information, and modify the corresponding number of routes and booking more than votes.
4, modify the flight information: when the flight information change can modify the flight data file.
5, output all information and customer information all routes.
Six, out of the system.
1、录入航线信息
每条航线信息包括航班号、飞机号、目的地、订票数、余票数共5项。假设现在有3条航线, 目的地分别是北京, 上海, 广州, 飞机上可乘坐100人( 即初始订票数为0, 余票数为100) , 将这3条航线信息存入文件中。
2、订票业务
客户信息包括姓名, 航班号, 座位号(初始为0), 假设已有3个客户信息存入文件中。
3、退票业务
根据客户提出的航班号, 办理退票, 并删除该客户的信息, 并修改相应航线的订票数和余票数。
4、修改航班信息:当航班信息改变可以修改航班数据文件。
5、输出全部航线信息和全部客户信息。
6、退出系统。-Through this system can realize the following functions:
1, entry route information
Every route information including the flight number, and the aircraft number, destination, booking tickets, the number of votes of more than five. If you have three flights, the destination were Beijing, Shanghai, guangzhou, the plane can take 100 people (or initial booking number is 0, the more votes for 100), will this 3 route information deposited in the file.
2, booking tickets business
Customer information including the name, flight number, seat number (initial 0), assuming that already 3 customer information in a file.
3, refund business
According to the customer put forward flight number, a refund, and delete the customer information, and modify the corresponding number of routes and booking more than votes.
4, modify the flight information: when the flight information change can modify the flight data file.
5, output all information and customer information all routes.
Six, out of the system.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
实验报告2(航空订票系统).doc
Airline.cpp
Airline.cpp