链表的建立

上学期C++老师教链表的时候没有认真听,这学期要补回来。今天就先来写一写链表的建立的基本的代码,输入输出的。node //正序输入输出 #include <stdio.h> #include <stdlib.h> struct node {     int num;     struct node*next; }; struct node*creat(int n)//链表的录入 {    
相关文章
相关标签/搜索