⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 expression.h

📁 王红梅编《数据结构》大多数的实验源码。内附详细的实验报告。
💻 H
字号:
#ifndef EXPR_H
#define EXPR_H

struct Node
{
	int coef;
	int exp;
	Node *next;
};

class Expression
{
public:
	Expression(int coef[], int exp[], int n);
	~Expression();
	void InsertBefore(Node *q);
	void InsertExpression(Node *q, Node *qPre);
	void Delete();
	void Merge(int coef);
	void MoveNext();
	void Print() const;
	Node *GetCurrentPreNode() const;
	Node *GetCurrentNode() const;
	bool End() const;
private:
	Node *first;
	Node *pre;
	Node *p;
};

#endif

⌨️ 快捷键说明

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