View difference between Paste ID: cqTXMmb6 and ZtcKUqRZ
SHOW: | | - or go back to the newest paste.
1
#ifndef EXPRESSION_H
2
#define EXPRESSION_H
3
4
#include <stack>
5
#include <vector>
6
7
class Expression
8
{
9
private:
10
    std::stack<int>* saPile;
11
    int chiffresEnNombre(std::vector<int>* unTab);
12
    int conversionCharEnInt(char);
13
    int traiterOperation(char);
14-
    int evaluer(std::vector<char>*);
14+
15
    Expression();
16
    ~Expression();
17
    int evaluer(std::vector<char>*);  
18
};
19-
#endif // EXPRESSION_H
19+
20-
20+
#endif // EXPRESSION_H