2013年10月20日
摘要: #include using namespace std;struct Node{ int data; Node * next;};class LinkList{public: Node *Head; void CreatList(int length); void Display();};void LinkList::CreatList(int length) //尾插法创建链表{ Node *p, *q; p=Head; cout >q->data; q->next=p->next; p->next=q; ... 阅读全文
posted @ 2013-10-20 20:30 缠绕寂寞 阅读(279) 评论(0) 推荐(0)