📄 对于定义的操作.h
字号:
int nodeseq_index(char *word,struct NODE *nodehead);//按结点名查结点序号
struct LINK *link_genera(struct buffer *sentehead,int flag);//生成新的链表节点
void link_inser(struct LINK *newlink,struct LINK *linktail);//插入新的链表结点
struct LINK *link_index(struct LINK *linkhead);//查找链表的队列尾
void link_operate(struct buffer *sentehead,struct LINK *linkhead,struct NODE *nodehead,int flag);//链表的定义操作
struct NODE *node_genera(struct buffer *sentehead,int seq);//生成新结点
void node_inser(struct NODE *newnode,struct NODE *nodetail);//插入新结点
struct NODE *node_index(struct NODE *nodehead);//查找结点队列尾
void node_operate(struct buffer *sentehead,struct NODE *nodehead);//结点定义的操作
struct topo *operate(struct topo *result,struct buffer *sentehead,int flag);//对定义的操作
//数据结构定义
struct LINK
{
int type;//double or simple
int from;
int end;
char capability[10];
struct LINK *next;
int dest;
};
struct NODE
{
char name[10];
int seq;
struct NODE *next;
int dir;
int type;//流量有待解决
};
struct topo
{
struct NODE *nodehead;
struct LINK *linkhead;
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -