Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // List.h
- #ifndef LIST_H_INCLUDED
- #define LIST_H_INCLUDED
- // Specifico quale versione includo
- #include "Item.h"
- // Lista non ordinata
- typedef struct list *LIST;
- void listInsHead(LIST l, Item val);
- Item listSearch(LIST l, Key k);
- void listDelKey(LIST l, Key k);
- #endif // LIST_H_INCLUDED
- // Set.h
- #ifndef SET_H_INCLUDED
- #define SET_H_INCLUDED
- // Specifico quale versione includo
- #include "Item.h"
- typedef struct set* SET;
- SET SETinit(int maxN);
- void SETfill(SET s, Item val);
- int SETsearch(SET s, Key k);
- SET SETunion(SET s1, SET s2);
- SET SETintersection(SET s1, SET s2);
- int SETsize(SET s);
- int SETempty(SET s);
- void SETdisplay(SET s);
- #endif // SET_H_INCLUDED
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement