⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 interface.cpp

📁 用户登陆系统存入车辆(存入时间
💻 CPP
字号:


//Interface.cpp
//界面设计


#include "StdAfx.h"
#include "typedef.h"



//登陆前标题
void Out_hander_ce()
{
	printf(" -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -\n\t\t\t  The Park Manages System\n\n\t\t\t   停 车 场 管 理 系 统\n\n\t\t\t\t\t\t\t\tversion 0.0.1\n\n\t\t\t\t\t\t   copyrigth &XXX All Reserved\n -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -\n");
}

void Out_hander_ch()
{
	printf(" -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -\n\t\t\t   停 车 场 管 理 系 统\n\n\t\t\t\t\t\t\t\tversion 0.0.1\n\n\t\t\t\t\t\t   copyrigth &XXX All Reserved\n -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -\n");
	printf("\t\t\t\t\t\t您还没有登陆,请您登陆。\n\n");
}

void Out_hander_en()
{
	printf(" -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -\n\t\t\t   The Park Manages System\n\n\t\t\t\t\t\t\t\tversion 0.0.1\n\n\t\t\t\t\t\t   copyrigth &XXX All Reserved\n -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -\n");
	printf("\t\t\t\tYou haven't land and please debarkation.\n\n");
	
}


//登陆后标题
void In_hander_ch()
{
	printf(" -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -\n\t\t\t   停 车 场 管 理 系 统\n\n\t\t\t\t\t\t\t\tversion 0.0.1\n\n\t\t\t\t\t\t   copyrigth &XXX All Reserved\n-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -\n");
	printf("\n\t\t\t\t\t%s 您好,欢迎您的使用。\n\n",user.username);
	
}

void In_hander_en()
{
	printf(" -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -\n\t\t\t   The Park Manages System\n\n\t\t\t\t\t\t\t\tversion 0.0.1\n\n\t\t\t\t\t\t   copyrigth &XXX All Reserved\n-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -\n");
	printf("\n\t\t\t\t  Hello %s,welcome to your usage.\n\n",user.username);
	
}



//帮助菜单
void In_help_ch()
{
	printf("\ndeposit\t 存入车辆\ntakeout\t 取出车辆\nsearch\t 查找车辆\nstate\t 查看停车场状态\nadvanced 高级管理\nquick\t 注销并退出系统\nhelp\t 帮助菜单\n");
}

void In_help_en()
{
	printf("\ndeposit\t Input the car\ntakeout\t Takeout a car\nsearch\t Search a car\nstate\t Look into a parking lot state\nadvanced The advanced manages\nquick\t Logout and exit\nhelp\t Help menu\n");
}


//高级菜单
void In_admin_ch()
{
	printf("\n\nprice\t\t重新设置停车价格\npassword\t修改密码\nlanguage\t修改语言\nbackdata\t备份,恢复数据文件\nlog\t\t查看日志\nhelp\t\t查看帮助\nback\t\t回到上级菜单\n");
}

void In_admin_en()
{
	printf("\n\nprice\t\tModify parking price\npassword\tModify password\nlanguage\tReset the language\nbackdata\tBackup or recovery data file\nlog\t\tLook into the log\nhelp\t\tHelp menu\nback\t\tBack to the next\n");
}



//中文界面
char * Chinese[] =
{
	"请输入用户名:",						//p
	"请输入  密码:",						//p+1
	"请重复输入密码:",						//p+2
	"两次密码输入不一致,请重新输入!",		//p+3
	"请设置每小时停车价格(格式:元.角分,例如:15.00):",	//p+4
	"您的用户名是:",			//p+5
	"密  码  是  :",			//p+6
	"每小时停车价格是:",		//p+7
	"以上信息正确吗?(y/n)",	//p+8
	"程序运行出现意外错误,按任意键继续",	//p+9
	"用户创建成功,现在将以新用户身份登录,按任意键继续。", //p+10
	"登陆成功,按任意键继续",		//p+11
	"用户名或密码输入错误,请重新输入。按任意键继续",	//p+12
	"请输入新密码:",			//p+13
	"密码修改成功!按任意键返回。", //p+14
	"从未备份数据,备份请输入backup。",	//p+15
	"备份数据文件成功,按任意键返回。",	//p+16
	"文件未备份,按任意键返回。",		//p+17
	"数据文件已经备份,重新备份请输入backup,恢复数据文件请输入recover。",	//p+18
	"恢复会造成新添加数据丢失,确认操作吗?(y/n)",		//p+19
	"恢复数据文件成功,按任意键返回。",					//p+20
	"车位已满!",		//p+21
	"存入车辆",			//p+22
	"请输入车主姓名:",	//p+23
	"请输入车牌号码:",	//p+24
	"日志可能没有被正确记录。",		//p+25
	"当前价格为:",			//p+26
	"请输入新的价格:",     //p+27
	"价格设置成功,从现在开始存入的车辆将以新价格计费,之前车辆仍按照以前价格计费。按任意键继续",	//p+28
	"车辆添加成功,请将车辆放入车位:",		//p+29
	"按任意键继续",			//p+30
	"取出车辆",				//p+31
	"当前没有车辆在停车场存放。",	//p+32
	"没有找到该车辆,请检查输入。",	//p+33
	"记录已找到:",		//p+34
	"车牌号码:",		//p+35
	"车主姓名:",		//p+36
	"存放位置:",		//p+37
	"年",	//p+38
	"月",	//p+39
	"日",	//p+40
	"天",	//p+41
	"小时",	//p+42
	"分钟",	//p+43
	"存入时间:",		//p+44
	"当前时间:",		//p+45
	"停车计时:",		//p+46
	"停车费用:",		//p+47
	"元",			//p+48
	"确认取出该车请输入takeout,返回请输入back。",	//p+49
	"车辆取出成功,按任意键继续。",					//p+50
	"搜索车辆",		//p+51
	"当前没有车辆在停车场存放。",	//p+52
	"请输入要查找的车牌号码:",		//p+53
	"没有找到该车记录",				//p+54
	"查看停车场状态",				//p+55
	"停车场当前还有",		//p+56
	"个空余车位。",			//p+57
	"当前所有存放车辆:",	//p+58
	"请重新输入管理员密码:",	//p+59
	"密码输入错误,按任意键返回。",		//p+60
	"密码验证成功,即将进入高级管理命令,请谨慎操作。",	//p+61
	"高级管理命令",		//p+62
	"请输入高级管理命令(输入help获得帮助):",		//p+63
	"命令输入错误,请重新输入.\n",		//p+64
	"请输入命令(输入help获得帮助):",	//p+65
	"车牌号码为",		//p+66
	"修改停车价格",		//p+67
	"修改密码",			//p+68
	"备份数据文件",		//p+69
	"恢复数据文件",		//p+70
	"登陆系统",			//p+71
	"注销系统",			//p+72
	"系统日志",			//p+73
	"清空日志请输入clear,回到高级管理界面请输入back。",	//p+74
	"清空后将不可恢复,确认要清空吗?(y/n)",		//p+75
	"日志清空成功,按任意键继续。",		//p+76
	"请设置停车场的容量(格式:长.宽,例如:5.4):",		//p+77
	"停车场的容量是:"		//p+78
};


//英文界面
char * English[] = 
{
	"Please input a username:",
	"Please input a password:",
	"Please input the password again:",
	"The password input anticoincidence, please input afresh!",
	"Please establish a per hour parking price(format:Dollar.Corner deci, for example:15.00):",
	"Your user's name is:",
	"The password is:",
	"The per hour parking price is:",
	"Above information exactitude?(y/n)",	//p+8
	"The program run appears an accident error, click arbitrarily the key go on",	//p+9
	"The user establishes success, will register by new user identity now and click arbitrarily the key go on.", //p+10
	"Debarkation success, click arbitrarily the key go on",		//p+11
	"User's name or password input error please re- input.Click arbitrarily the key go on",	//p+12
	"Please input a new password:",			//p+13
	"Password modify success!Click arbitrarily key return.", //p+14
	"Never backup data, the backup please input backup.",	//p+15
	"The file success of the backup data, click arbitrarily key return.",	//p+16
	"File don't backup, click arbitrarily key return.",		//p+17
	"Data file already backup, afresh the backup please input backup, the recovery data file please input recover.",	//p+18
	"The recovery would result in to add a data to throw to lose lately, acknowledgement, ACK operation?(y/n)",		//p+19
	"The file success of the recovery data, click arbitrarily key return.",					//p+20
	"The car has been full!",		//p+21
	"Deposit vehicle",			//p+22
	"Please input car owner's name:",	//p+23
	"Please input license plate number:",	//p+24
	"The journal may have no quilt exactitude to record.",		//p+25
	"The current price is:",			//p+26
	"Please input new price:",     //p+27
	"Price setup success, the vehicle which deposits from now on will be charge with new price and the previous vehicle still charges according to the price of the past.Click arbitrarily the key go on",	//p+28
	"The vehicle adds success, please put the vehicle into a car:",		//p+29
	"Click arbitrarily the key go on",			//p+30
	"Take out vehicle",				//p+31
	"Have no vehicle to save in the parking lot at present.",	//p+32
	"Did not find out that vehicle, please check an input.",	//p+33
	"The record has been already find out:",		//p+34
	"License plate number:",		//p+35
	"Car owner's name:",		//p+36
	"Save a place:",		//p+37
	"Year",	//p+38
	"Month",	//p+39
	"Day",	//p+40
	"Day",	//p+41
	"Hour",	//p+42
	"Minute",	//p+43
	"Deposit a time:",		//p+44
	"Current time:",		//p+45
	"When parking account:",		//p+46
	"Park the car expenses:",		//p+47
	"Dollar",			//p+48
	"The acknowledgement, ACK takes out that car to please to input takeout, the return please input back.",	//p+49
	"The vehicle takes out success and click arbitrarily the key go on.",					//p+50
	"Search vehicle",		//p+51
	"Have no vehicle to save in the parking lot at present.",	//p+52
	"Please input the license plate number which to check to seek:",		//p+53
	"Did not find out that car record",				//p+54
	"Look into a parking lot state",				//p+55
	"The parking lot still has at present",		//p+56
	"Gets empty a remaining car.",			//p+57
	"All current save vehicle:",	//p+58
	"Please re- input managing person's password:",	//p+59
	"The password inputs an error and click arbitrarily key return.",		//p+60
	"Password verification success, will soon get into a deluxe management command, please a careful operation.",	//p+61
	"The deluxe management orderany",		//p+62
	"Please input a deluxe management command:(input help acquisition help)",		//p+63
	"Orderany an input error, please re- input.\n",		//p+64
	"Please input a command:(input help acquisition help)",	//p+65
	"License plate number is",		//p+66
	"The modify parks the car price",		//p+67
	"Modify a password",			//p+68
	"Backup data file",		//p+69
	"Recovery data file",		//p+70
	"Land system",			//p+71
	"Log off system",			//p+72
	"System journal",			//p+73
	"The pure empty journal please input clear, return to a high class management an interface to please to input back.",	//p+74
	"Pure empty behind won't be able to recover, confirm to want pure empty?(y/n)",		//p+75
	"The journal is pure empty successful, click arbitrarily the key go on.",		//p+76
	"Invite a capacity of establish the parking lot(format:Long.Breadth, for example:5.4):",		//p+77
	"The capacity of parking lot is:"			//p+78

};


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -