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

📄 停车场管理系统.cpp

📁 用户登陆系统存入车辆(存入时间
💻 CPP
字号:
// 停车场管理系统.cpp : Defines the entry point for the console application.
//

#include "StdAfx.h"
#include "typedef.h"
#include "change.h"
#include <conio.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>


int main(int argc, char* argv[])
{
	if(login() == true)
	{
		char mcommand[10];
		while(1)
		{
			system("cls");
			if (user.language == 'c')
			{
				In_hander_ch();
			} 
			else
			{
				In_hander_en();
			}

			while(1)
			{
				printf("\n%s",*(p_language_print + 65));/*请输入命令(输入help获得帮助):*/
				scanf("%s",mcommand);
				
				if     (strcmp(mcommand,"deposit") == 0)
				{
					fun_input();
					break;
				}
				else if(strcmp(mcommand,"takeout") == 0)
				{
					fun_output();
					break;
				}
				else if(strcmp(mcommand,"search") == 0)
				{
					fun_search();
					break;
				}
				else if(strcmp(mcommand,"state") == 0)
				{
					fun_state();
					break;
				}
				else if(strcmp(mcommand,"advanced") == 0)
				{
					fun_admin();
					break;
				}
				else if(strcmp(mcommand,"quick") == 0)
				{
					fun_quick();
					break;
				}
				else if(strcmp(mcommand,"help") == 0)
				{
					if (user.language == 'c')
					{
						In_help_ch();
					} 
					else
					{
						In_help_en();
					}
				}
				else
				{
					printf("\n%s",*(p_language_print + 64));/*命令输入错误,请重新输入!*/
				}
			}
		}
	}
	return 0;
}

⌨️ 快捷键说明

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