摘要: templateError_code List::remove(int position,List_entry&x){Node*prior,*current;if(count==0)return fail;if(position=count)return range_error;if(position>0){prior=set_position(position-1);current=prior->next;prior->next=current->next;}else{current=head;head=head->next;}x=current-> 阅读全文
posted @ 2013-09-26 13:00 刘颖斌 阅读(110) 评论(0) 推荐(0)