Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef LIST_H
- #define LIST_H
- typedef int TInfo;
- typedef struct Node{
- TInfo value;
- struct Node* next;
- }TNode;
- typedef struct List{
- TNode *start;
- TNode *end;
- int nElem;
- }TList;
- void initList(TList*);
- void finalizeList(TList*);
- void insertList(TList*, TInfo value);
- void deleteList(TList*, TInfo value);
- void printList(TList *);
- int isEmptyList(TList*);
- int sizeList(TList*);
- int memberList(TList*, TInfo value);
- #endif
Add Comment
Please, Sign In to add comment