📄 types.h
字号:
//变量结构和类型定义
struct nodepos_struct /2D position structure/
{
int x;
int y;
};
struct gatecd_struct //门连接或者取消链接
{
bool cd[NNODES];
cMessage *msg[NNODES];
cGate *fromGate[NNODES];
cGate *toGate[NNODES];
};
typedef int nodeid_t; //nodeID structure
typedef struct nodepos_struct nodepos_t; //position structure
typedef struct interval_struct interval_t;//time interval structure
typedef struct gatecd_struct gatedcd_t;//gate connect /disconnect structure
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -