首页 火车票查询系统代码

火车票查询系统代码

举报
开通vip

火车票查询系统代码火车票查询系统代码 火车票查询系统代码.txt41滴水能穿石,只因为它永远打击同一点。42火柴如果躲避燃烧的 痛苦,它的一生都将黯淡无光。 #include #include void welcome(); //欢迎系统 void choose(); //选择系统 void time(int year,int month,int day); //时间判断系统 void booktickets(); //订票子系统 void sealticket(); //售票子系统 void sealtick...

火车票查询系统代码
火车票查询系统代码 火车票查询系统代码.txt41滴水能穿石,只因为它永远打击同一点。42火柴如果躲避燃烧的 痛苦,它的一生都将黯淡无光。 #include #include void welcome(); //欢迎系统 void choose(); //选择系统 void time(int year,int month,int day); //时间判断系统 void booktickets(); //订票子系统 void sealticket(); //售票子系统 void sealticket(char begin[10],char end[10],int number); void returntickets(); //退票子系统 int statisticstrain(char begin[10],char end[10]); //站站查询 | int statisticstrain1(char trainnum[10]); //车次查询 } 统计子系统 int statisticstrain2(char station[10]); //车站查询 | void querytrain(); //查询子系统 int generateddata(char begin[10],char end[10]); //站站查询 | int generateddata1(char trainnum[10]); //车次查询 } 生成数据子系统 int generateddata2(char station[10]); //车站查询 | void quit(); //退出系统 //欢迎系统 void welcome() { cout<<"********************************************************"<>i; switch (i) as corrosion, damp; information, instructions, drawings are complete. 5.1.3.2.2 install (1) civil engineering construction is completed, cabinet base, bracket installed, meets the design requirements; (2) air conditioning systems installation finished, under normal operating conditions, indoor temperature and humidity reach system requirements; (3) power and interior lighting is put into normal operation of the system; (4) finished construction of the grounding system, grounding resistance meets the design requirements (less than 4 ohms). 5.1.3.2.3 instrument enclosure using bolts based on the weld is strictly prohibited. Instrument disc cabinet installation of allows deviation see Xia table: instrument disc cabinet installation of allows deviation project allows deviation (mm) vertical degrees <1.5 level deviation adjacent two disc top Department < 20% column disc top Department <5 disc surface deviation adjacent two disc side < 10% column disc surface < 5 disc indirect sewing <2 5.1.3.2.4 internal cable laying wiring (1) control room internal cable including grounding line, and signal line, and power line and dedicated cable, wiring requirements neatly beautiful, and line standard specifications consistent, wiring right firm; (2) check the intrinsically safe circuit, confirm with the system cable and terminal block of the color (usually blue) meet the requirements, connection of intrinsically safe circuits shall ensure that safe areas isolated from the danger zone; (3) safety grounding, earthing according to design drawings and system technical requirements for construction, equipment grounding ... Hardware checks at the factory set DIP switch position should be recorded and the hardware address switch, swap cards must not directly touch the electronic { case 1: booktickets(); break; case 2: sealticket(); break; case 3: returntickets(); break; case 4: querytrain(); break; case 5: quit(); break; default: cout<<"请在数字 1-5 之间重新您的输入选择!"< 29) { cout<<"请输入正确的日期格式!"<>year; cout<<"请输入出发月份:"<>month; cout<<"请输入出发日期:"<>day; } as corrosion, damp; information, instructions, drawings are complete. 5.1.3.2.2 install (1) civil engineering construction is completed, cabinet base, bracket installed, meets the design requirements; (2) air conditioning systems installation finished, under normal operating conditions, indoor temperature and humidity reach system requirements; (3) power and interior lighting is put into normal operation of the system; (4) finished construction of the grounding system, grounding resistance meets the design requirements (less than 4 ohms). 5.1.3.2.3 instrument enclosure using bolts based on the weld is strictly prohibited. Instrument disc cabinet installation of allows deviation see Xia table: instrument disc cabinet installation of allows deviation project allows deviation (mm) vertical degrees <1.5 level deviation adjacent two disc top Department < 20% column disc top Department <5 disc surface deviation adjacent two disc side < 10% column disc surface < 5 disc indirect sewing <2 5.1.3.2.4 internal cable laying wiring (1) control room internal cable including grounding line, and signal line, and power line and dedicated cable, wiring requirements neatly beautiful, and line standard specifications consistent, wiring right firm; (2) check the intrinsically safe circuit, confirm with the system cable and terminal block of the color (usually blue) meet the requirements, connection of intrinsically safe circuits shall ensure that safe areas isolated from the danger zone; (3) safety grounding, earthing according to design drawings and system technical requirements for construction, equipment grounding ... Hardware checks at the factory set DIP switch position should be recorded and the hardware address switch, swap cards must not directly touch the electronic } } else { if(day > 28) { cout<<"请输入正确的日期格式!"<>year; cout<<"请输入出发月份:"<>month; cout<<"请输入出发日期:"<>day; } } } else if(month == 1 || month == 3 || month == 5 || month == 7 || month == 8 || month == 10 || month == 12) { if(day > 31) { cout<<"请输入正确的日期格式!"<>year; cout<<"请输入出发月份:"<>month; cout<<"请输入出发日期:"<>day; } } else if(month == 4 || month == 6 || month == 9 || month == 12) { if(day > 30) { cout<<"请输入正确的日期格式!"<>year; cout<<"请输入出发月份:"<>month; cout<<"请输入出发日期:"<>day; } } else as corrosion, damp; information, instructions, drawings are complete. 5.1.3.2.2 install (1) civil engineering construction is completed, cabinet base, bracket installed, meets the design requirements; (2) air conditioning systems installation finished, under normal operating conditions, indoor temperature and humidity reach system requirements; (3) power and interior lighting is put into normal operation of the system; (4) finished construction of the grounding system, grounding resistance meets the design requirements (less than 4 ohms). 5.1.3.2.3 instrument enclosure using bolts based on the weld is strictly prohibited. Instrument disc cabinet installation of allows deviation see Xia table: instrument disc cabinet installation of allows deviation project allows deviation (mm) vertical degrees <1.5 level deviation adjacent two disc top Department < 20% column disc top Department <5 disc surface deviation adjacent two disc side < 10% column disc surface < 5 disc indirect sewing <2 5.1.3.2.4 internal cable laying wiring (1) control room internal cable including grounding line, and signal line, and power line and dedicated cable, wiring requirements neatly beautiful, and line standard specifications consistent, wiring right firm; (2) check the intrinsically safe circuit, confirm with the system cable and terminal block of the color (usually blue) meet the requirements, connection of intrinsically safe circuits shall ensure that safe areas isolated from the danger zone; (3) safety grounding, earthing according to design drawings and system technical requirements for construction, equipment grounding ... Hardware checks at the factory set DIP switch position should be recorded and the hardware address switch, swap cards must not directly touch the electronic { cout<<"请输入正确的日期格式!"<>year; cout<<"请输入出发月份:"<>month; cout<<"请输入出发日期:"<>day; } } //订票子系统 void booktickets() { char begin[10],end[10]; int year,month,day; cout<<"请输入出发地:"<>begin; cout<<"请输入目的地:"<>end; cout<<"请输入您所要订购的票的出发日期!"<>year; cout<<"请输入出发月份:"<>month; cout<<"请输入出发日期:"<>day; time(year,month,day); //判断输入的时间是否正确 cout<<"出发日期为:"<>number; sealticket(begin,end,number); //调用售票系统(2) } //售票子系统(1) void sealticket() { char begin[10],end[10]; cout<<"请输入出发地:"<>begin; cout<<"请输入目的地:"<>end; int number; as corrosion, damp; information, instructions, drawings are complete. 5.1.3.2.2 install (1) civil engineering construction is completed, cabinet base, bracket installed, meets the design requirements; (2) air conditioning systems installation finished, under normal operating conditions, indoor temperature and humidity reach system requirements; (3) power and interior lighting is put into normal operation of the system; (4) finished construction of the grounding system, grounding resistance meets the design requirements (less than 4 ohms). 5.1.3.2.3 instrument enclosure using bolts based on the weld is strictly prohibited. Instrument disc cabinet installation of allows deviation see Xia table: instrument disc cabinet installation of allows deviation project allows deviation (mm) vertical degrees <1.5 level deviation adjacent two disc top Department < 20% column disc top Department <5 disc surface deviation adjacent two disc side < 10% column disc surface < 5 disc indirect sewing <2 5.1.3.2.4 internal cable laying wiring (1) control room internal cable including grounding line, and signal line, and power line and dedicated cable, wiring requirements neatly beautiful, and line standard specifications consistent, wiring right firm; (2) check the intrinsically safe circuit, confirm with the system cable and terminal block of the color (usually blue) meet the requirements, connection of intrinsically safe circuits shall ensure that safe areas isolated from the danger zone; (3) safety grounding, earthing according to design drawings and system technical requirements for construction, equipment grounding ... Hardware checks at the factory set DIP switch position should be recorded and the hardware address switch, swap cards must not directly touch the electronic cout<<"请输入所要订购的火车票数量:"<>number; int j = statisticstrain(begin,end); //调用站站统计子系统 if(j == 1) { char trainnum[10]; cout<<"请选择火车车次:"<>trainnum; int price; cout<<"请选择票价:"<>price; cout<>i; if(i == 1) { cout<>end; int j; cin>>j; if(j == 1) sealticket(); else welcome(); } else welcome(); } else if(j == 0) welcome(); } //售票子系统(2) void sealticket(char begin[10],char end[10],int number) { as corrosion, damp; information, instructions, drawings are complete. 5.1.3.2.2 install (1) civil engineering construction is completed, cabinet base, bracket installed, meets the design requirements; (2) air conditioning systems installation finished, under normal operating conditions, indoor temperature and humidity reach system requirements; (3) power and interior lighting is put into normal operation of the system; (4) finished construction of the grounding system, grounding resistance meets the design requirements (less than 4 ohms). 5.1.3.2.3 instrument enclosure using bolts based on the weld is strictly prohibited. Instrument disc cabinet installation of allows deviation see Xia table: instrument disc cabinet installation of allows deviation project allows deviation (mm) vertical degrees <1.5 level deviation adjacent two disc top Department < 20% column disc top Department <5 disc surface deviation adjacent two disc side < 10% column disc surface < 5 disc indirect sewing <2 5.1.3.2.4 internal cable laying wiring (1) control room internal cable including grounding line, and signal line, and power line and dedicated cable, wiring requirements neatly beautiful, and line standard specifications consistent, wiring right firm; (2) check the intrinsically safe circuit, confirm with the system cable and terminal block of the color (usually blue) meet the requirements, connection of intrinsically safe circuits shall ensure that safe areas isolated from the danger zone; (3) safety grounding, earthing according to design drawings and system technical requirements for construction, equipment grounding ... Hardware checks at the factory set DIP switch position should be recorded and the hardware address switch, swap cards must not directly touch the electronic int j = statisticstrain(begin,end); //调用站站统计子系统 if(j == 1) { char trainnum[10]; cout<<"请选择火车车次:"<>trainnum; int price; cout<<"请选择票价:"<>price; cout<>i; if(i == 1) { cout<>end; int j; cin>>j; if(j == 1) sealticket(); else welcome(); } else welcome(); } else if(j == 0) welcome(); } //退票子系统 void returntickets() { char begin[10],end[10]; cout<<"请输入出发地:"<>begin; as corrosion, damp; information, instructions, drawings are complete. 5.1.3.2.2 install (1) civil engineering construction is completed, cabinet base, bracket installed, meets the design requirements; (2) air conditioning systems installation finished, under normal operating conditions, indoor temperature and humidity reach system requirements; (3) power and interior lighting is put into normal operation of the system; (4) finished construction of the grounding system, grounding resistance meets the design requirements (less than 4 ohms). 5.1.3.2.3 instrument enclosure using bolts based on the weld is strictly prohibited. Instrument disc cabinet installation of allows deviation see Xia table: instrument disc cabinet installation of allows deviation project allows deviation (mm) vertical degrees <1.5 level deviation adjacent two disc top Department < 20% column disc top Department <5 disc surface deviation adjacent two disc side < 10% column disc surface < 5 disc indirect sewing <2 5.1.3.2.4 internal cable laying wiring (1) control room internal cable including grounding line, and signal line, and power line and dedicated cable, wiring requirements neatly beautiful, and line standard specifications consistent, wiring right firm; (2) check the intrinsically safe circuit, confirm with the system cable and terminal block of the color (usually blue) meet the requirements, connection of intrinsically safe circuits shall ensure that safe areas isolated from the danger zone; (3) safety grounding, earthing according to design drawings and system technical requirements for construction, equipment grounding ... Hardware checks at the factory set DIP switch position should be recorded and the hardware address switch, swap cards must not directly touch the electronic cout<<"请输入目的地:"<>end; char trainnum[10]; cout<<"请输入火车车次:"<>trainnum; int price; cout<<"请选择票价:"<>price; int number; cout<<"请输入所要退订的火车票数量:"<>number; cout<>i; if(i == 1) { cout<>end; int j; cin>>j; if(j == 1) returntickets(); else welcome(); } else welcome(); } //查询子系统 void querytrain() { int i; cout<>i; if(i == 1) { char from[10],to[10]; cout<<"请输入出发站:"<>from; cout<<"请输入到达站:"<>to; cout<>trainnum; cout<>station; cout<
本文档为【火车票查询系统代码】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
下载需要: 免费 已有0 人下载
最新资料
资料动态
专题动态
is_531654
暂无简介~
格式:doc
大小:80KB
软件:Word
页数:32
分类:生活休闲
上传时间:2018-09-20
浏览量:37