数据结构链表实验源代码 时间:2011-12-02 02:14:29 【文件属性】: 文件名称:数据结构链表实验源代码 文件大小:3KB 文件格式:TXT 更新时间:2011-12-02 02:14:29 链表 #include #include typedef struct Lnode{ int data; struct Lnode *next; }Lnode,*Linklist; //建立一个空的线性链表 void initlist(Linklist &l) { l=(Linklist)malloc(sizeof(Lnode)); if(!l) printf("未分配空间\n"); l->next=NULL; } ...... 立即下载