vertexstack.h
来自「这是我写的数据结构的课设」· C头文件 代码 · 共 31 行
H
31 行
// VertexStack.h: interface for the CVertexStack class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_VERTEXSTACK_H__5BF140F7_088E_47E1_8523_258E8CBE68D3__INCLUDED_)
#define AFX_VERTEXSTACK_H__5BF140F7_088E_47E1_8523_258E8CBE68D3__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
struct node
{
class CVertex* vertex;
struct node* next;
};
class CVertexStack
{
public:
struct node* list;
public:
CVertexStack();
virtual ~CVertexStack();
class CVertex* Pop();
BOOL IsEmpty();
void Push(class CVertex* vertex);
};
#endif // !defined(AFX_VERTEXSTACK_H__5BF140F7_088E_47E1_8523_258E8CBE68D3__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?