上传者: 42202595 
                                    |
                                    上传时间: 2022-09-28 16:25:38
                                    |
                                    文件大小: 61KB
                                    |
                                    文件类型: PPT
                                
                            
                                
                            
                                单链表的递归建立
Student *creatstu(int start , int n) { //建立一个编号从start开始的具有n个元素的单链表
	Student *t=new Student;
	t->num = start;    //每个节点编号
	if(n==1) {
		t->next = NULL;
		return t;
	}
	t->next = creatstu(start+1,n-1);
	return t;
}