usaa18cv4/calculator.h
2018-11-20 00:01:20 +01:00

25 lines
384 B
C

#ifndef CALCULATOR_H
#define CALCULATOR_H
#define STACK_SIZE 1024
struct stack {
float* array;
int size;
};
struct stack* create_stack();
void delete_stack(struct stack* stack);
void push_stack_value(struct stack* stack,float value);
float pop_stack_value(struct stack* stack);
void print_stack(struct stack* stack);
void polish_calculator();
#endif // CALCULATOR_H