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

📄 head.h

📁 C语言表达式语法分析器
💻 H
字号:
#include <time.h>
#define		FUNCTION_TIME  500
#define   FUNCTION_OTHER	501
#define   SHOW_DOUBLE			502
#define   SHOW_INT				503
#define		SHOW_CHAR				504
#define   ARRAY_TYPE			505
#define   VAR_TYPE				506
typedef struct list
{
	char name[255];
	int count;
	double val[10];
}listc;

typedef double (*func_t)(double);
typedef int (*func_t0)();
typedef double (*func_t2)(double,double);
typedef time_t (*func_t_time)();
struct symrecc
{
char *name;
double type;
int  diff;
struct symrecc *  a_val[255];
union
{
double var;
func_t fnctptr;
func_t0 fnctptr0;
func_t2 fnctptr2;
func_t_time fnctptr_time;
}val;
struct symrecc *next;
};
typedef struct symrecc symrec;


   

⌨️ 快捷键说明

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