Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #include <stdio.h>
- #include <stdlib.h>
- #include <conio.h>
- #include <locale.h>
- struct list
- {
- char symb;
- struct list* next;
- };
- char* get_line();
- void push(char s, struct list** stack);
- char pop(struct list** stack);
- int evaluate_quantity(char* expr);
- int check_first_bracket(char* expr);
- int evaluate_expression(char* expr, struct list* stack);
- void free_stack(struct list** stack);
- int finish();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement