?? expression.h
字號:
#ifndef EXPRESSION_H_
#define EXPRESSION_H_
#include <iostream>
#include"string"
#include "Stack.h"
#include "Queue.h"
using namespace std;
class Expression {
public:
Expression();
int isp(char ch);
int icp(char ch);
void infix_to_postfix(string infix);
bool is_digit(char ch);
double calculate_postfix();
void dispose_operator( char chRead );
private:
string postfix;
Stack<double>theStack;
};
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -