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

📄 main.h

📁 表达式计算的代码 C C 表达式计算 字符串计算
💻 H
字号:
// Main.h: interface for the CMain class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_MAIN_H__F331AAB8_61D0_4C9B_B088_81D1235A0FED__INCLUDED_)
#define AFX_MAIN_H__F331AAB8_61D0_4C9B_B088_81D1235A0FED__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
//
#include "Node.h"
#include "Tree.h"

class CMain  
{
public:
	char token;//标识字符
	Node* expression(void);
	Node* term(void);
	Node* factor(void);
	int isDigital(char);//判断是否为数字
	void errorProcess(void);//错误处理
	void match(char);//匹配字符
	CMain();
	virtual ~CMain();

};

#endif // !defined(AFX_MAIN_H__F331AAB8_61D0_4C9B_B088_81D1235A0FED__INCLUDED_)

⌨️ 快捷键说明

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