#include<stdio.h>#include<string.h>#include<stdlib.h>#include<conio.h>#define TRUE 1#define FALSE 0/*结构体定义*/struct train_ticket{char trainNO[4];char startpl[8];char endpl[8];char start_time[16];char end_time[16];char price[6];char mount[4];char station[8];struct train_ticket *next; /*建立链表结构*/};typedef struct train_ticket TT;TT *firsthead;void book(TT *head)void ChangeNumber(TT*head)/*本行提示出现错误Declaration syntax error*/void view(TT *head)void search(TT *head)void return(TT *head)void save(TT *head)void exit(TT *head)int GetNodeNumber(TT*head)int OkOrNot(char *name)TT*NewTicket(TT *node)TT*FindOneNode(TT*head,char*trainNO)TT*FindNextNode(TT*head,char*trainNO)TT*FindPrimeyNode(TT*head,char*trainNO)
- 3 回答
- 0 关注
- 171 浏览
添加回答
举报
0/150
提交
取消