?? operation.h
字號:
#include <iostream>
#include <string>
#include <stack>
#include <iomanip>
#include "Arithmetic.h"
//using namespace std;
class Operation
{
public:
//初始化
Operation(std::string NumLine);
Operation(char* NumLine);
//計算表達式
std::string Operations();
private:
//比較算術的優先級
char CompareSign(char c1, char c2);
//判斷是符號還是數字
bool IsNumber(char c);
//禁止未初始化
Operation();
//計算
Arithmetic Operate(Arithmetic& a, char c, Arithmetic& b);
private:
std::string m_NumLine;
};
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -