📄 clist.h
字号:
#pragma once
// macros for structures that have a *next member
#define ListForEach(type, list, n) \
type *n = list; \
for(;n;n = n->next) \
#define ListClear(type, list) \
type *n = list; \
while(list) { \
type *cur = n; \
n = n->next; \
delete cur; \
} \
list = 0; \
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -