Advertisement
reellearning

Contact Linked List Header

Jul 23rd, 2012
1,851
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.38 KB | None | 0 0
  1. /*
  2.  * ContactList.h
  3.  *
  4.  *  Created on: Jul 23, 2012
  5.  *      Author: Derek
  6.  *
  7.  *      Linked List Example
  8.  */
  9.  
  10. #ifndef CONTACTLIST_H_
  11. #define CONTACTLIST_H_
  12.  
  13. #include "Contact.h"
  14.  
  15. class ContactList
  16. {
  17.     public:
  18.         ContactList();
  19.         void addToHead(Contact* newOne);
  20.  
  21.     private:
  22.         Contact* head;
  23.         int size;
  24. };
  25.  
  26.  
  27. #endif /* CONTACTLIST_H_ */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement