第二组省域高速公路联网收费系统可行性报告
作者:吴侠志
就读院校:东莞理工学院
#include"stdafx.h"#definenum4#definemax_len8#include#include#include#include#include#include
char*mytime(structtm*timeptr);
//获取系统时间的函数voiddelay(intn);//延时函数char*filename(intstartkey);voidinitialize(structcar*cars,intnum,file*fp);///初始化函数intrefer(structcar*cars,intstartkey);//查询
intkm[10]={0,0,82,162,288,368,391,514,800,867};
/*记录各站与首站的里程,单位:km*/doubleprice[6]={0.0,0.6,
1.2,
1.8,
2.4,
3.0};
/*记录各类车的里程价位,单位:元/辆公里*/char*address[10]={"0","湛江","茂名","阳江","开平","佛山","广州","深圳","汕头","汾水"};char*kind[6]={"特殊车","一类车","二类车","三类车","四类车","五类车"};
structcar{intcard_num;
/*卡号*/intcar_type;intstation_in;chartime_in[26];intstation_out;chartime_out[26];charis_in;doublemoney;intflag;}cars[9*num+1];
(未完,全文共2970字,当前显示711字)
(请认真阅读下面的提示信息)