?? function_menu.cpp
字號:
#include "head.h"
/*主菜單函數*/
/*1 : 輸入公式 2 : 顯示文件中公式 3 : 刪除文件中公式 4 : 演算 5 : 文件格式化 6 : 退出程序*/
void MainMenu()
{
printf("########################## MENU ##########################################\n") ;
printf("# #\n") ;
printf("# 1:Input Expressions 2:Display Expression 3:Delete Expression #\n") ;
printf("# #\n") ;
printf("# 4:Expression Operator 5:File Format 6:Return MainMenu #\n") ;
printf("# #\n") ;
printf("##########################################################################\n") ;
printf("Operation Choice\n") ;
printf(">") ;
}
/*子菜單函數*/
/*1 : 顯示文件中前10個公式 2 : 顯示文件中次10個公式 3: 顯示文件中所有公式 4: 演算 5 刪除公式 6 返回主菜單*/
void SubMenu()
{
printf("########################## SubMENU #######################################\n") ;
printf("# #\n") ;
printf("# 1:Display the first of 10 Expressions 2:Display the second of 10 #\n") ;
printf("# #\n") ;
printf("# Expression 3:Display all Expression 4:Expression Operator #\n") ;
printf("# #\n") ;
printf("# 5:Delete Expression 6:Return MainMenu #\n") ;
printf("# #\n") ;
printf("##########################################################################\n") ;
printf("Designated operation\n") ;
printf(">") ;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -