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

📄 semantics.h

📁 编译器:用于实现一个简单的编译器的语法分析功能
💻 H
字号:

#ifdef _VC_COMPILER
	#include <windows.h>
	#include <wingdi.h>
	extern HDC hDC;
#endif;

#ifdef _BC_COMPILER
	#include <graphics.h>
	#include <conio.h>
#endif

#include "parser.h"

#ifdef _VC_COMPILER
	#define red RGB(255,0,0)
	#define black RGB(0,0,0)
#endif

#ifdef _BC_COMPILER
	#define white 255
#endif

extern void DrawPixel(unsigned long x,unsigned long y);
extern double GetExprValue(struct ExprNode *root);
extern void DrawLoop(double Start ,
					 double End,
					 double Step,
					 struct ExprNode *HorPtr,
					 struct ExprNode *VerPtr);
extern void DelExprTree(struct ExprNode *root);

#ifdef _BC_COMPILER
	extern int InGraphMode;
	extern int InitGraph(void );
	extern void CloseGraph(void);
#endif


⌨️ 快捷键说明

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