14 lines
223 B
C
14 lines
223 B
C
#ifndef CALCULATOR_H
|
|
#define CALCULATOR_H
|
|
|
|
#define MAX 256
|
|
|
|
void infix_to_postfix(const char *infix, char *postfix);
|
|
double evaluate_postfix(const char *postfix);
|
|
|
|
int precedence(char op);
|
|
int is_operator(char c);
|
|
|
|
#endif
|
|
|