📄 dllist.h
字号:
#ifndef DLLIST_INCLUDED#define DLLIST_INCLUDEDclass DLLElement{ public: DLLElement( void * itemPtr, int sortKey ); DLLElement * next; DLLElement * prev; int key; void * item;};class DLList{ public: DLList(); ~DLList(); void Prepend( void * item ); void Append( void * item ); void * Remove( int * keyPtr ); bool IsEmpty( ); void SortedInsert( void * item, int sortKey ); void * SortedRemove( int sortKey ); private: DLLElement*first; DLLElement*last;};extern void Begin( int n );extern void End( int n );extern int Thread_num, Node_num, Flag;#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -