linklist_i.h

来自「程序C++双链表算法代码」· C头文件 代码 · 共 56 行

H
56
字号
// LinkList_I.h// author: Ke Song based C source from pp Sister XiuJie Chen ;)// http://kesongemini.diy.163.com#ifndef KS_LINKLIST_I_H#define KS_LINKLIST_I_H#if 1inline LinkList_T::LinkList_T( void ):	_top			((LinkListNode_T *)this),		//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!	_bottom		((LinkListNode_T *)this),		// I DON'T CONFIRM WHETHER *this HERE FORMED ALREADY	_current	((LinkListNode_T *)this)	  //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!{}#endif#if 0inline LinkList_T::LinkList_T( void ){}#endifinline LinkList_T::~LinkList_T( void ){}inline bool LinkList_T::isEmpty( void ){	return ( _top == (LinkListNode_T *)this );}inline CONTENTSLinkList_T::Top( void )							{	return ( _top->contents );}inline CONTENTSLinkList_T::Bottom( void )			   {	return _bottom->contents;}inline CONTENTSLinkList_T::Current( void ){	return _current->contents;}#endif // KS_LINKLIST_I_H

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?