代码搜索:信号链
找到约 10,000 项符合「信号链」的源代码
代码结果 10,000
www.eeworm.com/read/360652/2960735
txt 算法 2.18.txt
算法 2.18
void CreateList_L(LinkList &L, ElemType A[], int n )
{
// 已知一维数组A[n]中存有线性表的数据元素,逆序创建单链线性表L
L = NULL; // 先建立一个空的单链表
for ( i = n-1; i >= 0; --i ) {
www.eeworm.com/read/154509/5636979
txt 算法 2.18.txt
算法 2.18
void CreateList_L(LinkList &L, ElemType A[], int n )
{
// 已知一维数组A[n]中存有线性表的数据元素,逆序创建单链线性表L
L = NULL; // 先建立一个空的单链表
for ( i = n-1; i >= 0; --i ) {
www.eeworm.com/read/154509/5637222
txt 算法 2.18.txt
算法 2.18
void CreateList_L(LinkList &L, ElemType A[], int n )
{
// 已知一维数组A[n]中存有线性表的数据元素,逆序创建单链线性表L
L = NULL; // 先建立一个空的单链表
for ( i = n-1; i >= 0; --i ) {
www.eeworm.com/read/475726/6776446
cpp algo0220.cpp
Status ListInsert_L(NLinkList L, int i, ElemType e) { // 算法2.20
// 在带头结点的单链线性表L的第i个元素之前插入元素e
NLink h,s;
if (!LocatePos(L, i-1, h))
return ERROR; // i值不合法
if (!MakeNode(s, e))
www.eeworm.com/read/472935/6860297
c bo4-3.c
/* bo4-3.c 串采用块链存储结构(由c4-3.h定义)的基本操作(16个) */
void InitString(LString *T)
{ /* 初始化(产生空串)字符串T。另加 */
(*T).curlen=0;
(*T).head=NULL;
(*T).tail=NULL;
}
Status StrAssign(LString *T,ch
www.eeworm.com/read/293882/8266265
h c9-4.h
// c9-4.h 双链树的存储结构
#define MAX_KEY_LEN 16 // 关键字的最大长度
struct KeysType // 关键字类型
{
char ch[MAX_KEY_LEN]; // 关键字
int num; // 关键字长度
};
struct Record // 记录类型
{
KeysType key; // 关
www.eeworm.com/read/392789/8325815
c bo4-3.c
/* bo4-3.c 串采用块链存储结构(由c4-3.h定义)的基本操作(16个) */
void InitString(LString *T)
{ /* 初始化(产生空串)字符串T。另加 */
(*T).curlen=0;
(*T).head=NULL;
(*T).tail=NULL;
}
Status StrAssign(LString *T,ch
www.eeworm.com/read/173560/9651028
c bo4-3.c
/* bo4-3.c 串采用块链存储结构(由c4-3.h定义)的基本操作(16个) */
void InitString(LString *T)
{ /* 初始化(产生空串)字符串T。另加 */
(*T).curlen=0;
(*T).head=NULL;
(*T).tail=NULL;
}
Status StrAssign(LString *T,ch
www.eeworm.com/read/368531/9690718
c bo4-3.c
/* bo4-3.c 串采用块链存储结构(由c4-3.h定义)的基本操作(16个) */
void InitString(LString *T)
{ /* 初始化(产生空串)字符串T。另加 */
(*T).curlen=0;
(*T).head=NULL;
(*T).tail=NULL;
}
Status StrAssign(LString *T,ch
www.eeworm.com/read/368262/9703517
cpp bo3-2.cpp
// bo3-2.cpp 链队列(存储结构由c3-2.h定义)的基本操作(9个)
Status InitQueue(LinkQueue &Q)
{ // 构造一个空队列Q
if(!(Q.front=Q.rear=(QueuePtr)malloc(sizeof(QNode))))
exit(OVERFLOW);
Q.front->next=NULL;
r