Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * CppLists.h
- *
- * Created on: May 9, 2010
- * Author: Daan Janssens
- */
- #ifndef CPPLISTS_H_
- #define CPPLISTS_H_
- namespace CppLists
- {
- struct List;
- struct Node
- {
- Node* next;
- int data;
- Node* prev;
- };
- struct List
- {
- Node* first;
- Node* last;
- int size;
- };
- void init(List& myList);
- }
- #endif /* CPPLISTS_H_ */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement