edge.h

来自「一个模拟flex的应用程序 主要实现词法分析 语义分析」· C头文件 代码 · 共 18 行

H
18
字号
/*   The edge of the adjacency list.*/#ifndef _EDGE_HEADER#define _EDGE_HEADER#include<stdlib.h>class Edge
{
	public:
		int number;//the value of the vertex the edge points to 
		int position;// the positon of the vertex the edge points to 
		char weight;
		Edge *link;
		Edge();
		Edge(int num, int pos, char ch);
};#endif

⌨️ 快捷键说明

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