航空客运订票系统源代码.docxVIP

  • 426
  • 0
  • 约1.02万字
  • 约 13页
  • 2017-07-15 发布于重庆
  • 举报
航空客运订票系统源代码

航空客运订票系统源代码#include windows.h//dos控制命令头文件#include iostream//输入输出头文件#include iomanip//控制格式头文件#include conio.h//getchar()用到#include string//字符串函数using namespace std;//标准命名空间#define OK 1//函数结果状态码#define ERROR 0//函数结果状态码#define TRUE 1//函数结果状态码#define FALSE 0//函数结果状态码typedefint status;//函数结果状态码static intcusnum=1;//顾客数(全局变量)static intairnum=1;//航线数(全局变量)//顾客结构体struct customer{ char name[9];// 顾客名 char line_num[8];// 航班号intpiaonum;// 座位号struct customer *next;// 下一个结点};typedef customer *Linkcustomer;//候补顾客结构体typedefstructhoubuNode{//候补顾客结构体char name[9];//姓名char end_place[10];//终点站intpnum;//票数str

文档评论(0)

1亿VIP精品文档

相关文档