摘要: #include #include #include typedef struct stu{ int m; struct stu *l; }st; int main() { int m; st *h; while(scanf("%d",&m)!=EOF) { st *l; h=new st; l=new st; l=h; ... 阅读全文
posted @ 2017-06-21 19:31 卍玩 阅读(2355) 评论(0) 推荐(0) 编辑
摘要: #include #include #include typedef struct stu{ int d; struct stu *l; }st; void xj(st *h)//生成单链表 { st *l; l=h; int m; scanf("%d",&m); h=(st *)malloc(sizeof(st)); whil... 阅读全文
posted @ 2017-06-21 17:22 卍玩 阅读(208) 评论(0) 推荐(0) 编辑