C++中出现的异常,求指教

C++中出现的错误,求指教写个单链表操作的程序,其中:p head 这一行出现错误no match for operator in

C++中出现的错误,求指教
写个单链表操作的程序,其中:
p = head; 这一行出现错误
no match for 'operator=' in 'p = head' 
p->next = NULL;这一样出现错误
base operand of `->' has non-pointer type `node' 

查了下好像和操作符重载有关?这方面不是太了解,请各位指教
[解决办法]
node* head,p,s;         //头指针和临时指针 
这句不对,应该写作:
node *head,*p,*s;