代码搜索:链表实现
找到约 10,000 项符合「链表实现」的源代码
代码结果 10,000
www.eeworm.com/read/289649/8537719
cpp 单链表.cpp
#include
#include
typedef char DataType;
typedef struct node
{
DataType data;
struct node *next;
}ListNode;
typedef ListNode *LinkList;
void main()
{
Lin
www.eeworm.com/read/289579/8541577
c 单链表.c
/*单链表的各种操作*/
# define null 0
typedef char ElemType; /* 字符型数据*/
typedef struct LNode
{
ElemType data;
struct LNode *next;
};
setnull(struct LNode **p);
int length (struct LNode **p
www.eeworm.com/read/289579/8541815
c 单链表.c
#include
#include
struct roommate
{
char name[20];
long num;
int age;
char birthplace[20];
struct roommate *next;
};
struct roommate *head,*cthis,*cnew;
void
www.eeworm.com/read/289579/8541828
c 链表(递归).c
#include
#include
struct listNode{
int data;
struct listNode *nextPtr;
};
typedef struct listNode LISTNODE;
typedef LISTNODE * LISTNODEPTR;
LISTNODEPTR list(LISTNODEPTR , int); /
www.eeworm.com/read/287060/8728550
c 单链表.c
#include
#include
struct roommate
{
char name[20];
long num;
int age;
char birthplace[20];
struct roommate *next;
};
struct roommate *head,*cthis,*cnew;
void
www.eeworm.com/read/287060/8728562
c 链表(递归).c
#include
#include
struct listNode{
int data;
struct listNode *nextPtr;
};
typedef struct listNode LISTNODE;
typedef LISTNODE * LISTNODEPTR;
LISTNODEPTR list(LISTNODEPTR , int); /
www.eeworm.com/read/430517/8740913
c 静态链表.c
/*创建简单的静态链表*/
#include
# include
struct employeeData
{
int id;
char name[10];
int salary;
struct employeeData *next;
}
main()
{
struct employeeData e1,e2,e3;
s
www.eeworm.com/read/428784/8841432
c 单链表.c
/*单链表的各种操作*/
# define null 0
typedef char ElemType; /* 字符型数据*/
typedef struct LNode
{
ElemType data;
struct LNode *next;
};
setnull(struct LNode **p);
int length (struct LNode **p
www.eeworm.com/read/383653/8929917
c 单链表.c
/*单链表的各种操作*/
# define null 0
typedef char ElemType; /* 字符型数据*/
typedef struct LNode
{
ElemType data;
struct LNode *next;
};
setnull(struct LNode **p);
int length (struct LNode **p
www.eeworm.com/read/427532/8937574