\t\t|"<<endl;/*打印两个空格*/printLine();//划线函数cout<<"\t\t\t|2.小车停车\t\t\t|"<<endl;printLine();//划线函数cout<<"\t\t\t|3.返回\t\t\t|"<<endl;printLine();//划线函数10printStar();//打印星号cout<<"\t\t请输入您的选项<1-3>:";//二级菜单函数cin>>choice;//选择菜单函数switch(choice)//选择菜单函数{case1:potLG();break;case2:passLG();break;case3:break;default:system("colorFc");cout<<endl<<"\t\t\t\t输入格式不正确!"<<endl;_sleep(1000);break;}if(choice==3)break;}return;}/*voidreadwriteDAT(){long*temp;FILE*rf,*wf;rf=fopen("in.dat","r");wf=fopen("out.dat","w");fscanf(rf,"%ld",&temp);feep(temp);fprintf(wf,"%ld",temp);fprintf(wf,"\n");fclose(rf);fclose(wf);}*/doublefeep(time_t*tmp)//时间差的计算{intm=0,min=0,sec=0;//设置数据用来计算时间间隔,停车时、分、秒。doublegap=0,hour=0;local=localtime(tmp);//将存储的时间转化为当地时间日历cout<<local->tm_hour<<":"<<local->tm_min<<":"<<local->tm_sec<<endl;//显示停车时刻