Advertisement
3axap_010

header.h

May 21st, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.44 KB | None | 0 0
  1. #pragma once
  2.  
  3. #include <stdio.h>
  4. #include <stdlib.h>
  5. #include <conio.h>
  6. #include <locale.h>
  7.  
  8. struct list
  9. {
  10.     char symb;
  11.     struct list* next;
  12. };
  13.  
  14. char* get_line();
  15.  
  16. void push(char s, struct list** stack);
  17.  
  18. char pop(struct list** stack);
  19.  
  20. int evaluate_quantity(char* expr);
  21.  
  22. int check_first_bracket(char* expr);
  23.  
  24. int evaluate_expression(char* expr, struct list* stack);
  25.  
  26. void free_stack(struct list** stack);
  27.  
  28. int finish();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement