Function LinkedList.LinkedListHead.initListHead

initListHead -- Inititalize a ListHead

void initListHead();

Before you can use list functions on a ListHead you must initialize the structure.

Parameters

NameDescription

Returns

An initialized ListHead.

Example

ListHead myList; myList.initListHead();

Notes

Any information in the ListHead will be destroyed. Do not use it on already initialized ListHeads, or you may lose the actual linked list.

Bugs

none

See

initListHead(), addNode(), remNode(), addNodeHead(), remNodeHead(), addNodeTail(), remNodeTail(), addNodeSorted(), findNode()