Re: Linked List
Siemel Naran wrote:
[color=blue]
> "Pete" <x@x.x> wrote in message news:yKZbc.1487 0
>
>[color=green]
>>node* node = yourfirstnode;
>>node* node5 = node->next->next->next->next;[/color]
>
>
> What happens on a list of 0 to 4 elements?[/color]
As he noted:
"P-code, and without error checking (assumes list is at least 5 long):"
mark
Siemel Naran wrote:
[color=blue]
> "Pete" <x@x.x> wrote in message news:yKZbc.1487 0
>
>[color=green]
>>node* node = yourfirstnode;
>>node* node5 = node->next->next->next->next;[/color]
>
>
> What happens on a list of 0 to 4 elements?[/color]
As he noted:
"P-code, and without error checking (assumes list is at least 5 long):"
mark
Comment