【文件属性】:
文件名称:C 语言版 单向链表
文件大小:33KB
文件格式:RAR
更新时间:2012-01-12 09:24:07
单向链表
C 语言版 单向链表
#include
#include
typedef struct student
{
int num;
struct student *next;
}st;
st *creat() //创建链表
{
st *head , *tail , *p;
int num = 0;
head = tail = p = NULL;
printf ( " 请输入您要创建的链表,以回车分隔,输入0结束\n" );
scanf ( "%d" , &num );
【文件预览】:
单向链表
----lianbiao.exe(184KB)
----lianbiao.cpp(2KB)