您好,欢迎光临本网站![请登录][注册会员]  
文件名称: 飞机订票,退票查询等系统
  所属分类: Java
  开发工具:
  文件大小: 84kb
  下载次数: 0
  上传时间: 2010-08-16
  提 供 者: binzin*******
 详细说明: } void list_menu() { cout<next=NULL; wait_end->pre=NULL; wait_head=wait_end; wait_head->count=0; fp=fopen("wait.txt","r"); fread(wait_head,sizeof(wait),1,fp); for(i=1;i<=wait_head->count;i++) { fread(tempw,sizeof(wait),1,fp); wait_end->next=tempw; tempw->pre=wait_end; tempw->next=NULL; wait_end=tempw; } } void list_piao() { int i,j; for(i=1;i<=m-1;i++) { if(a[i].seat[0]!=n) { cout<>x;cout<=m); cout<next!=NULL) q=head->next; else { q=NULL; cout<<"飞机空,无预订票 !"<date=q->plane; cout<<"日期 :"<date<seat<name; cout<id; q=q->next;x++; if (x % 3 ==0) ch=getch(); } cout<>i; if (i<1 || i>=m) { cout<>j; if (j<1 || j>n) { cout<date=i; cout<date<next=NULL; cout<<"请输入个人信息"<>tempw->name; cout<<"ID号 : ";cin>>tempw->id; cout<<"电话 :";cin>>tempw->phone; tempw->seat=y; tempw->plane=x; wait_end->next=tempw; tempw->pre=wait_end; wait_end=wait_end->next; cout<count++; write_to_file(); } void show_wait() { wait *tempw; tempw=wait_head->next; if (tempw==NULL) cout<name<<" - "; tempw=tempw->next; } } void add_information(node *head,int x,int y) { node *temp; temp=new node; temp->pre=NULL; temp->next=NULL; cout<<"请输入个人信息"<>temp->name; cout<<"ID号 : ";cin>>temp->id; temp->seat=y; temp->plane=x; temp->next=head->next; temp->pre=head; if (head->next!=NULL) head->next->pre=temp; head->next=temp; write_to_file(); cout<>p->name; do{ q=q->next; if ( (q!=NULL) && (comp(q,p)) ) { cout<date=q->plane; cout<<"Located!"<name; cout<id; cout<seat; cout<plane; cout<date<>ch; if (ch=='Y' || ch=='y') { t1=q->plane; t2=q->seat; a[t1].seat[t2]=0; a[t1].seat[0]--; r=q;q=q->pre; r->pre->next=r->next; if(r->next!=NULL) r->next->pre=r->pre; delete(r); cout<<"**** 记录删除成功 ! ****"; write_to_file(); tempw=wait_head; for(i=0;icount;i++) { tempw=tempw->next; if(tempw==NULL) break; if((tempw->plane==t1) && (tempw->seat==t2)) { strcpy(tempw3->name,tempw->name); strcpy(tempw3->phone,tempw->phone); cout<name; cout<id<plane==1) add_information(head1,1,tempw->seat); if(tempw->plane==2) add_information(head2,2,tempw->seat); if(tempw->plane==3) add_information(head3,3,tempw->seat); tempw2=tempw->pre; tempw2->next=tempw->next; if(tempw->next==NULL) wait_end=tempw2; else tempw->next->pre=tempw2; delete(tempw); wait_head->count--; write_to_file(); cout<name<<"已经成功订票,已经由电话"<phone<<"通知了"<
(系统自动生成,下载前可以参看下载内容)

下载文件列表

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.
 相关搜索: 订票 退票 显示 航班等
 输入关键字,在本站1000多万海量源码库中尽情搜索: