2013年3月10日
摘要: #include "stdafx.h"#include "malloc.h"typedef struct node{ int data; struct node *next;}nnode;void initiate(nnode **head){ *head=(nnode *)malloc(sizeof(nnode)); (*head)->next=NULL;}void insert(nnode *head,int n){ nnode *p=head; nnode *s; while(p->next!=NULL) { p=p->next; 阅读全文
posted @ 2013-03-10 09:17 mrheyao 阅读(187) 评论(0) 推荐(0) 编辑