Advertisement

基于链表实现的链式管理系统(C语言课程设计)

阅读量:

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
typedef struct Logincheck
{
char account[1000];
int choose;
}Login;
typedef struct Student
{
char num[100];
char name[20];
int grade;
}Stu;
typedef struct ListNode
{
Stu student;
struct ListNode* next;
}ListNode;
//创建头节点
ListNode* createHead()
{
ListNode* Head = (ListNode*)malloc(sizeof(ListNode));
if (Head == NULL)
return NULL;
Head->next = NULL;
return Head;

}

全部评论 (0)

还没有任何评论哟~