- 1
- 0
- 约1.04万字
- 约 9页
- 2022-01-25 发布于河北
- 举报
#include stdio.h
#include malloc.h
#include stdlib.h
typedef struct Student/* 定义学生类 */
{
int num;
char name[20];
char sex[2];
int age;
float grade;
}stu;
typedef struct DuLNode
{
stu data;
struct DuLNode *next;
struct DuLNode *prior;
}DuLNode,* DuLinklist;
DuLinklist InitList_L()/* 构造一个空的单向链表 */
{
DuLinklist L;
L=(DuLinklist)malloc(sizeof(stu));
if(!L)
printf(ERROR\n);
else
{
L-next=NULL;
L-prior=NULL;
您可能关注的文档
最近下载
- 2024年三级餐厅服务员(高级)职业资格鉴定考试题库-下(多选、判断题汇总).doc VIP
- 麦肯锡管理咨询顾问逻辑思维能力培训(167页).pptx VIP
- 中国消化道早癌筛查及内镜诊治指南2025版.docx
- 圆与圆的位置关系市公开课一等奖省赛课微课金奖课件.ppt VIP
- 中小学《刮画》校本教材.docx
- 家政服务员高级实操试卷5.docx VIP
- 重大事故隐患安全管理制度.docx VIP
- 经济法律法规:金融法律制度PPT教学课件.pptx VIP
- 2024年高级家政服务员职业鉴定考试题库(含答案).doc VIP
- 《GB_T 16462.4 - 2007数控车床和车削中心检验条件 第4部分:线性和回转轴线的定位精度及重复定位精度检验》最新解读.docx VIP
原创力文档

文档评论(0)