Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * ContactListApp.cpp
- *
- * Created on: Jul 23, 2012
- * Author: Derek
- */
- #include "ContactList.h"
- int main()
- {
- Contact* c1 = new Contact("Tom");
- Contact* c2 = new Contact("Bob");
- Contact* c3 = new Contact("Sally");
- ContactList* cl1 = new ContactList();
- cl1->addToHead(c1);
- cl1->addToHead(c2);
- cl1->addToHead(c3);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement