📄 linklist.h
字号:
// LinkList.h: interface for the CLinkList class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_LINKLIST_H__861EEFD8_9B24_11D5_B119_5254AB32C4D0__INCLUDED_)
#define AFX_LINKLIST_H__861EEFD8_9B24_11D5_B119_5254AB32C4D0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <stdio.h>
class CLinkList
{
public:
struct ListType {
int x;
int y;
unsigned char type;
} ;
/* element of the list */
struct ListElement {
public:
ListType data;
ListElement *next;
ListElement *previous;
};
void RemoveCurrentElement();
ListType GetCurrentElement(char *found);
void Reset();
void Destroy();
void Append(ListType d);
void Create();
int length;
ListElement* head;
ListElement* current;
ListElement* end;
CLinkList();
virtual ~CLinkList();
};
#endif // !defined(AFX_LINKLIST_H__861EEFD8_9B24_11D5_B119_5254AB32C4D0__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -