Example
23
typedef struct Node
{
Node* Prev;
ItemType Item;
Node* Next; };
typedef Node* PtrType;
PtrType NameList;
NameList = new Node;
NameList->Prev = NULL;
// Assign values to Item
NameList->Next = NULL;
Previous slide
Next slide
Back to first slide
View graphic version