Advertisement
Ruggeri96

Untitled

Jan 22nd, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.48 KB | None | 0 0
  1. // ST.h
  2. #ifndef ST_H_INCLUDED
  3. #define ST_H_INCLUDED
  4.  
  5. // Specifico quale versione includo
  6. #include "Item.h"
  7.  
  8. typedef struct symboltable *ST;
  9.  
  10. ST STinit(int maxN);
  11. void STfree(ST st);
  12. int STcount(ST st);
  13. int STempty(ST st);
  14. void STinsert(ST st, Item val);
  15. Item STsearch(ST st, Key k);
  16. void STdelete(ST st, Key k);
  17. Item STselect(ST st, int r);
  18. void STdisplay(ST st);
  19. void STchangePrio(ST st, Item val, int i); // Per le PQ
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35. #endif // ST_H_INCLUDED
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement