?? 停車場管理系統.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 + -