資源簡介
這是一個關于機票預定的程序系統(tǒng),內(nèi)有源程序,可執(zhí)行文件,概要設計,需求分析

代碼片段和文件信息
#include?“bianliang.h“
#include?“xinxi.h“
#include?“main.h“
#include?“yonghu.h“
#include?“piao.h“
//?//?//?//?//?//?//?//?//?//?管理員功能界面?//?//?//?//?//?//?//?//?//?//?
void?adgn(emploe?em1[10]int?k)
{
FILE?*f;
int?nm;
emploe?em2[10];
system(“cls“);
loop1:printf(“\n\t\t請選擇功能:\t\t\t\t\t\t管理員“);
??printf(“\n________________________________________________________________________________“);
??printf(“\n\n\t\t1.登錄航班“);
??printf(“\n\t\t2.查詢航班\n“);
??printf(“\n\t\t3.訂票“);
??printf(“\n\t\t4.退票\n“);
??printf(“\n\t\t5.添加用戶“);
??printf(“\n\t\t6.修改權限\n“);
??printf(“\n\t\t7.刪除用戶“);
??printf(“\n\t\t8.修改密碼\n“);
??printf(“\n\t\t9.注銷“);
??printf(“\n\t\t0.退出\n“);
??printf(“\n\n================================================================================“);
??n=-1;
??fflush(stdin);
??scanf(“%d“&n);
??switch(n)
??{
//?//?//?//?//?//?//?//?//?//???登?錄?航?班?信?息???//?//?//?//?//?//?//?//?//?//?
??case?1:
loop2: ??system(“cls“);
??printf(“\n\t\t請選擇功能:\t\t\t\t\t\t管理員“);
??printf(“\n________________________________________________________________________________“);
??printf(“\n\n\n\t\t1.輸入航班信息“);
??printf(“\n\n\n\t\t2.刪除航班信息“);
??printf(“\n\n\n\t\t0.返回“);
??fflush(stdin);
??scanf(“%d“&m);
??switch(m)?
??{
??case?1:
??system(“cls“);
??input(em1k);
??system(“cls“);
??goto?loop2;
??break;
??case?2:
??system(“cls“);
??delair(em1k);
??system(“cls“);
??goto?loop2;
??break;
??case?0:
??system(“cls“);
??goto?loop1;
??break;
??default:
??system(“cls“);
??printf(“\n\t\t\t\t\t\t\t\t\t管理員“);
??printf(“\n________________________________________________________________________________“);
??printf(“\n\n\n\n\n\n\n\t\t\t您的輸入不符合要求~“);
??printf(“\n\n\n\n\n\n\n\n\n\n\n================================================================================“);
??printf(“\n\t\t\t\t(按任意鍵返回)“);
??fflush(stdin);
??n=getch();
??system(“cls“);
??goto?loop2;
??}
??
??break;
//?//?//?//?//?//?//?//?//?//???查?詢?航?班?信?息???//?//?//?//?//?//?//?//?//?//?
??case?2:
??system(“cls“);
??output(em1k);
??system(“cls“);
??goto?loop1;
??break;
//?//?//?//?//?//?//?//?//?//???訂??票???//?//?//?//?//?//?//?//?//?//?
??case?3:
??system(“cls“);
??book(em1k);
??goto?loop1;
??break;
//?//?//?//?//?//?//?//?//?//???退??票???//?//?//?//?//?//?//?//?//?//
??case?4:
??system(“cls“);
??refund(em1k);
??goto?loop1;
??break;
//?//?//?//?//?//?//?//?//?//???添?加?新?用?戶???//?//?//?//?//?//?//?//?//?//
??case?5:
??system(“cls“);
??add(em1k);
??printf(“\n\n\t\t新用戶注冊成功!!“);
??printf(“\n\n\n\n================================================================================“);
??printf(“\n\t\t\t\t(按任意鍵繼續(xù))“);
??fflush(stdin);
??n=getch();
??system(“cls“);
??goto?loop1;
??break;
//?//?//?//?//?//?//?//?//?//???修?改?權?限???//?//?//?//?//?//?//?//?//?//
??case?6:
??
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????1313459??2008-05-24?17:50??機票預定系統(tǒng)\C.rar
?????文件?????833926??2007-07-31?20:23??機票預定系統(tǒng)\機票預定系統(tǒng)\0.登陸.jpg
?????文件?????840390??2007-07-31?20:23??機票預定系統(tǒng)\機票預定系統(tǒng)\1.管理員.jpg
?????文件?????863778??2007-07-30?12:28??機票預定系統(tǒng)\機票預定系統(tǒng)\10.查詢航班信息.jpg
?????文件?????847222??2007-07-31?20:23??機票預定系統(tǒng)\機票預定系統(tǒng)\2.輸入航班.jpg
?????文件?????863778??2007-07-30?12:45??機票預定系統(tǒng)\機票預定系統(tǒng)\3.刪除信息.jpg
?????文件?????863778??2007-07-30?12:23??機票預定系統(tǒng)\機票預定系統(tǒng)\4.訂票.jpg
?????文件?????863778??2007-07-30?12:23??機票預定系統(tǒng)\機票預定系統(tǒng)\5.退票.jpg
?????文件?????863778??2007-07-30?12:24??機票預定系統(tǒng)\機票預定系統(tǒng)\6.添加用戶.jpg
?????文件?????863778??2007-07-30?12:25??機票預定系統(tǒng)\機票預定系統(tǒng)\7.刪除用戶.jpg
?????文件?????863778??2007-07-30?12:25??機票預定系統(tǒng)\機票預定系統(tǒng)\8.修改權限.jpg
?????文件?????863778??2007-07-30?12:26??機票預定系統(tǒng)\機票預定系統(tǒng)\9.修改密碼.jpg
?????文件?????606208??2007-07-31?20:22??機票預定系統(tǒng)\機票預定系統(tǒng)\PPT模版.ppt
?????文件??????????5??2008-06-26?18:27??機票預定系統(tǒng)\機票預定系統(tǒng)\project\a.dat
?????文件????????560??2008-06-26?18:27??機票預定系統(tǒng)\機票預定系統(tǒng)\project\air.dat
?????文件??????????4??2008-06-19?21:51??機票預定系統(tǒng)\機票預定系統(tǒng)\project\b.dat
?????文件???????1286??2007-07-22?16:00??機票預定系統(tǒng)\機票預定系統(tǒng)\project\bianliang.h
?????文件??????19788??2007-07-30?10:40??機票預定系統(tǒng)\機票預定系統(tǒng)\project\Debug\gongneng.obj
?????文件??????14975??2007-07-30?11:00??機票預定系統(tǒng)\機票預定系統(tǒng)\project\Debug\main.obj
?????文件??????20444??2007-07-30?10:50??機票預定系統(tǒng)\機票預定系統(tǒng)\project\Debug\piao.obj
?????文件?????221284??2007-07-30?11:13??機票預定系統(tǒng)\機票預定系統(tǒng)\project\Debug\project.exe
?????文件?????623616??2007-07-30?11:13??機票預定系統(tǒng)\機票預定系統(tǒng)\project\Debug\project.pdb
?????文件??????53248??2007-07-30?11:13??機票預定系統(tǒng)\機票預定系統(tǒng)\project\Debug\vc60.pdb
?????文件??????43509??2007-07-30?10:50??機票預定系統(tǒng)\機票預定系統(tǒng)\project\Debug\xinxi.obj
?????文件??????28566??2007-07-30?11:13??機票預定系統(tǒng)\機票預定系統(tǒng)\project\Debug\yonghu.obj
?????文件???????8671??2007-07-30?10:40??機票預定系統(tǒng)\機票預定系統(tǒng)\project\gongneng.c
?????文件?????????99??2007-07-13?16:01??機票預定系統(tǒng)\機票預定系統(tǒng)\project\gongneng.h
?????文件???????5119??2007-07-31?19:10??機票預定系統(tǒng)\機票預定系統(tǒng)\project\main.c
?????文件?????????77??2007-07-16?11:07??機票預定系統(tǒng)\機票預定系統(tǒng)\project\main.h
?????文件??????10999??2007-07-30?10:49??機票預定系統(tǒng)\機票預定系統(tǒng)\project\piao.c
............此處省略46個文件信息
評論
共有 條評論