Advertisement
Ruggeri96

Untitled

Jan 24th, 2019
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.50 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. int STgetIndex(ST st, Key k); // Da chiave a indice
  16. Item STretrieve(ST st, int id);  // Da indice a valore
  17. void STdelete(ST st, Key k);
  18. Item STselect(ST st, int r);
  19. void STdisplay(ST st);
  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