摘要:
void reserve(linkNode<char> *head) //头插入的逆置方法{linkNode<char> *q;q=head->next;if(head->next==NULL||head->next->next==NULL)return;elsewhile(q!=NULL&&q->next!=NULL){linkNode<char> *temp;temp=q->next;q->next=temp->next;temp->next=head->next;head-&g 阅读全文