摘要: #include<stdlib.h>#include<stdio.h>#include<malloc.h>#include<kernel_list.h>typedef struct node{ int data; struct list_head list;}listnode,*linklist; 阅读全文
posted @ 2016-02-21 15:59 高傲的monkey 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 顺序表: 声明:struct seqlist { Int last; Int data[12]; }seq,*seqlist; 初始化 seqlist init_seqlist() { seqlist sl = malloc(sizeof(seq)); sl->last =-1;//标记位,用于判断 阅读全文
posted @ 2016-02-21 13:22 高傲的monkey 阅读(2231) 评论(0) 推荐(0) 编辑