ll.h
来自「一个用来进行分割的程序」· C头文件 代码 · 共 33 行
H
33 行
// LL.h: interface for the LL class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_LL_H__7D380176_EBB6_447C_A2CF_8C2E6B7D8D21__INCLUDED_)
#define AFX_LL_H__7D380176_EBB6_447C_A2CF_8C2E6B7D8D21__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "node.h"
class LL
{
public:
LL();
virtual ~LL();
protected:
node headdum,taildum;
int length;
public:
int getlength();
bool find(node *nd);
node * getindex(int index);
node * deltail();
node * delhead(void);
void addtail(node *nd);
void addhead(node *nd);
node *head,*tail,*cur;
};
#endif // !defined(AFX_LL_H__7D380176_EBB6_447C_A2CF_8C2E6B7D8D21__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?