?? help.txt
字號:
幫助文檔
〈命令簡介〉
程序運行后,要求輸入[]中的命令
*****************************************************************
* Command Menu *
* 1. to open Command menu [menu] *
* 2. to calculate value of arithmetic expression [run] *
* 3. to learn more details about this program [more] *
* 4. to quit this program [quit] *
* 5. to clean the screen [clean] *
* 6. to convert number base(default:decimal) [convert] *
* 7. to learn how to use the program [help] *
* *
*****************************************************************
輸入run
Your Command:run // 執行四則運算
Please input arithmetic expression, never input a space or a tab.
Press Enter button to end input:
-8+(56.5*2-45)/2+9*(123.45-3.2)*4
=========================
* value = 4.355000e+003 *
=========================
Continue to calculate or back to command menu?
Continue--->'C',Back--->B (C/B)?c // Continue
Please input arithmetic expression, never input a space or a tab.
Press Enter button to end input:
8+(-9*6-5)*2
=========================
* value = -1.100000e+002 *
=========================
Continue to calculate or back to command menu?
Continue--->'C',Back--->B (C/B)?b // Back to Command Menu
*****************************************************************
* Command Menu *
* 1. to open Command menu [menu] *
* 2. to calculate value of arithmetic expression [run] *
* 3. to learn more details about this program [more] *
* 4. to quit this program [quit] *
* 5. to clean the screen [clean] *
* 6. to convert number base(default:decimal) [convert] *
* 7. to learn how to use the program [help] *
* *
*****************************************************************
Your Command:convert // 執行進制轉換
*****************************************************************
* Convert Menu *
* <Binary> <Octal> *
* [1]. binary to octal [4]. octal to binary *
* [2]. binary to decimal [5]. octal to decimal *
* [3]. binary to hexadecimal [6]. octal to hexadecimal *
* *
* <Decimal> <Hexadecimal> *
* [7]. decimal to binary [10].hexadecimal to binary *
* [8]. decimal to octal [11].hexadecimal to octal *
* [9]. decimal to hexadecimal [12].hexadecimal to decimal *
* *
*****************************************************************
Please enter your choice:[1] // binary to octal
Please input a binary:11110
The decimal code is:30.000000
The octal code is:36
Continue to convert or Select a new mode or Back to command menu?
Continue--->C,Select--->S,Back--->B (C/S/B)?s // Select the transform mode
*****************************************************************
* Convert Menu *
* <Binary> <Octal> *
* [1]. binary to octal [4]. octal to binary *
* [2]. binary to decimal [5]. octal to decimal *
* [3]. binary to hexadecimal [6]. octal to hexadecimal *
* *
* <Decimal> <Hexadecimal> *
* [7]. decimal to binary [10].hexadecimal to binary *
* [8]. decimal to octal [11].hexadecimal to octal *
* [9]. decimal to hexadecimal [12].hexadecimal to decimal *
* *
*****************************************************************
Please enter your choice:[9] // decimal to hexadecimal
Please input a decimal:174
The hexadecimal code is:ae
Continue to convert or Select a new mode or Back to command menu?
Continue--->C,Select--->S,Back--->B (C/S/B)?b // Back to Command Menu
*****************************************************************
* Command Menu *
* 1. to open Command menu [menu] *
* 2. to calculate value of arithmetic expression [run] *
* 3. to learn more details about this program [more] *
* 4. to quit this program [quit] *
* 5. to clean the screen [clean] *
* 6. to convert number base(default:decimal) [convert] *
* 7. to learn how to use the program [help] *
* *
*****************************************************************
Your Command:clean // 清除屏幕
Your Command:menu // 顯示Command Menu
……
Your Command:help // 顯示幫助信息
……
Your Command:more // 顯示程序代碼詳細清單
……
Your Command:quit // 退出程序,顯示感謝信息
*=================Thanks for using my program!================*
* If you have some suggestions, just contact with me. *
* telephone : 32051904 *
* QQ : 27512609 *
* e-mail : julyleecn@hotmail.com *
*==================My sincere thanks to you!==================*
Press any key to continue
錯誤警告(表達式)
Your Command:run
Please input arithmetic expression, never input a space or a tab.
Press Enter button to end input:
a+1
Error 1! Invalid charactor!
You should input arithmetic expression again!
Please input arithmetic expression, never input a space or a tab.
Press Enter button to end input:
*6-4
Error 2! The first character cannot be '.',')','*','/'.
You should input arithmetic expression again!
Please input arithmetic expression, never input a space or a tab.
Press Enter button to end input:
9.2.3+6
Error 3! more than one dots in a number.
You should input arithmetic expression again!
Please input arithmetic expression, never input a space or a tab.
Press Enter button to end input:
6++5
Error 4! '+','-','*','/','.' cannot be put together or at last or before ')'.
You should input arithmetic expression again!
Please input arithmetic expression, never input a space or a tab.
Press Enter button to end input:
4+5*()
Error 5! '(' cannot be put at last or followed by ')','*','/','.'.
You should input arithmetic expression again!
Please input arithmetic expression, never input a space or a tab.
Press Enter button to end input:
4-(9+5)6-9
Error 6! ')' cannot be followed by numbers and '('.
You should input arithmetic expression again!
Please input arithmetic expression, never input a space or a tab.
Press Enter button to end input:
9(5+6)
Error 7! Numbers cannot be followed by '('.
You should input arithmetic expression again!
Please input arithmetic expression, never input a space or a tab.
Press Enter button to end input:
5+(6-4))
Error 8! The parenthesis are not matched
You should input arithmetic expression again!
Please input arithmetic expression, never input a space or a tab.
Press Enter button to end input:
出錯保護(命令行)
Your Command:ran
Wrong Command!
Continue to calculate or back to command menu?
Continue--->'C',Back--->B (C/B)?a
Wrong Command!
Input again(C/B)?
Please enter your choice:[0]
Invalid choice! choose again:[ ]
Continue to convert or Select a new mode or Back to command menu?
Continue--->C,Select--->S,Back--->B (C/S/B)?a
Wrong Command!
Input again(C/S/B)?
〈歡迎使用幫助文檔〉
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -