zl-#include // 预处理函数#include // 标准库函数#include// 字符串函数#include // 通过键盘来控制程序调试int o=0; typedefstruct zuowei { int a;// 车座int b;// 车厢}seat; typedefstruct Tmess{// 定义一个构造体存储火车订票的信息char tnum[8];// 火车车次char time1[8];// 发车时间char station1[8];// 出发站char station2[8];// 终点站char tujingstation[8];// 途经站char time2[8];// 到站时间charmoney[5];// 票价}tmess; typedefstruct in{ // 定义一个构造体存储火车座位信息tmess data;// 调用火车的信息int reseat;// 剩余票seat seatnum; struct in *next;// 定义next指针}in; typedefstruct pmess{// 定义一个构造体存储乘客信息char name[10];//char tel[15];//char id[20];//char booknum[3];// 订票数目char checi[8];// 车次}pmess; typedefstruct people{// 乘客信息pmess m;// 调用 pmess构造体struct people *next;// 定义 next指针}people; struct dingdan{ int danhao; char tnum[8];// 火车车次char time1[8];// 发车时间char station1[8];// 出发站char station2[8]