Guest User

Untitled

a guest
Dec 13th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. class List
  2. {
  3. public:
  4. List();
  5. List(const List&);
  6. bool remove(int);
  7. bool insert(int, ItemType );
  8. Node *find(int);
  9. void toString();
  10. ItemType retrive(int);
  11. int getSize();
  12. private:
  13. struct Node
  14. {
  15. ItemType item;
  16. Node *next;
  17. };
  18. int size;
  19. Node *head;
  20.  
  21. };
Add Comment
Please, Sign In to add comment