实现单链表的建立、清空、插入、删除查找、修改等运算。用数据结构-C语言描述的知识。。。

[复制链接]
查看11 | 回复2 | 2012-3-23 02:47:39 | 显示全部楼层 |阅读模式
# include # include # define NULL 0# define LEN sizeof(struct student)struct student{long num;float score ;struct student *next ;};int n ;struct student *creat(void){struct student *head ;struct student *p1,*p2 ;n=0;p1=p2=(struct student*)malloc(LEN);scanf("%ld,%f",&p1->num,&p...
回复

使用道具 举报

千问 | 2012-3-23 02:47:39 | 显示全部楼层
。。。。。。。。 数据结构教材上有标准的实现...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行