How can you make a linked list without having to write
node *head = NULL;
1 2 3
|
head = new node ( "zildjian" );
head->next = new node ("sabian");
head->next->next = new node ("paiste" );
|
Last edited on
No templates , I know it's a for loop but I can't think of the right algorithm.