代码搜索:信号链
找到约 10,000 项符合「信号链」的源代码
代码结果 10,000
www.eeworm.com/read/251182/12359650
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
www.eeworm.com/read/130200/14203546
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/127962/14324120
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/127961/14324682
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
www.eeworm.com/read/223339/14644722
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/223294/14647524
txt 2.txt
const int MaxValue=99;
//定义邻接表中的边结点类型
const int MaxV=10;
//最大权值
struct edgenode {
int adjvex; //邻接点域
int weight; //权值域
edgenode* next; //指向下一个边结点的链域
};
//定义邻接表类型
typedef edgeno
www.eeworm.com/read/219502/14878371
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/208856/15234268
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/206115/15299797
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