Mar 25, 2015 at 7:01pm
I'm getting a lot of this error in the following code
1 2 3 4 5 6 7 8 9
|
node *ptr = new node;
ptr->value = x;
node *toinsert;
if (!head)
{
head = ptr;
head->prenode = head->nextnode = head;
}
else
|
Last edited on Mar 25, 2015 at 8:15pm