📄 graph.h
字号:
// graph.h: interface for the graph class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_GRAPH_H__04E413AC_921A_48B9_B884_0E78CB45DC69__INCLUDED_)
#define AFX_GRAPH_H__04E413AC_921A_48B9_B884_0E78CB45DC69__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "node.h"
class graph
{
public:
node * delnode(int num);
void reset();
node * getnext();
int getlength();
bool find(node *nd);
node * delnode(node *nd);
void addnode(node *nd);
node midhead;
node *head,*next;
node *cur;
int len;
graph();
virtual ~graph();
};
#endif // !defined(AFX_GRAPH_H__04E413AC_921A_48B9_B884_0E78CB45DC69__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -