琥珀玲珑
琥珀玲珑的世界,也是你们的世界哦。大家一起来吧!!!!
摘要: #includetypedef struct student{int num;float score;struct student *next;}stu; //命名了一个新的类型名代表结构体类型void create(){stu a,b,c,*head,*p; //a,b,c为三个链表的结点,head为头结点a.num=101;a.score=85.5;b.num=102;b.score=90.5;c.num=103;c.score=95;head=&a;a.next=&b;b.next=&c;c.next=NULL;p=head; //使p指向头结点printf(&q 阅读全文
posted @ 2013-07-18 09:58 琥珀玲珑 阅读(94) 评论(0) 推荐(0) 编辑