A CursorList - . , node, , node node. , 5, 3, 2, 11, 9 , 5 -> 3 -> 2 -> 11 -> 9 -> NULL. , , node, node NULL. , . ( malloc ) node .
CursorList, , . , listNode cursorList[10], listNode :
class listNode {
public:
listNode() {
data = -1;
next = NULL;
}
listNode(int inputData, &listNode inputNext) {
data = inputData;
next = inputNext;
}
private:
int data;
listNode* next;
};
listNode - : 
, 5, next. , : 
, , 5 next? , , Freelist ( @Justin Ethier). Freelist , . CursorList Freelist 0-9. listNode , Freelist . (, 5 ), . CursorList, next .