circular_dlist.h
来自「This is a safe double linked list data s」· C头文件 代码 · 共 36 行
H
36 行
typedef struct Node { int id; struct Node* next; struct Node* prev; struct Node_sl* DocL;}Node_dl;unsigned int maxf; /*Call this to get a new Head*/Node_dl *CreateNew_dl(int id,int m);/*Insert a node with id o(n) because all list will be scanned for duplicates*/int Insert_dl (int id);/* Delete a Node by id. O(n) Deleting last Node in a list will cause list to be also deleted.So you have to re-create it.*/int Delete_dl(int id);/*Try find the Node with id.If not present, return Null*/Node_dl *Find_dl(int id);/*Print list from head Node..(Or anything else xD);*/void print_dl(void); /*insert file*/int Insert_File(int id, int type) ;/*Delete file*/int Delete_File(int id) ;int Find_File(int id) ;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?