semantics.h
来自「为简单的函数绘图语言编写一个解释器语法制导部分 语法制导注意:必须严格按照下面」· C头文件 代码 · 共 26 行
H
26 行
//----------------------------semantics.h----------------------------------------
#ifdef _VC_COMPILER
#include <windows.h>
#include <windows.h>
#include <wingdi.h>
extern HDC hDC;
#endif;
#include "parser.h"
#ifdef _VC_COMPILER
#define red RGB(255,0,0)
#define black RGB(0,0,0)
#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);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?