#ifndef __PLIST_H #define __PLIST_H #include struct listItem { listItem* next; int value; }; typedef listItem* listPointer; class List { public: List(void) { list = NULL; } ~List(); void Insert(int newValue); // add newValue to "beginning" of list int Delete(void); // return and delete "first" item on list void Print(void); // print list private: listPointer list; }; #endif