Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct ListNode
- {
- struct ListNode *next; //next node in list
- struct ListNode *previous; //previous node in list
- char *data; //a pointer to allocated space containing a word
- };
- struct List
- {
- struct ListNode *head; //start of list
- struct ListNode *tail; //end of list
- };
- void AddWord(struct List *l, char *w);
- void PrintList(struct List *l);
- void DeleteList(struct List *l);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement