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

📄 func.h

📁 C语言表达式语法分析器
💻 H
字号:
#include <time.h>
struct init
{
char const *fname;
func_t fnct;
};

struct init0
{
char const *fname;
func_t0 fnct;
};

struct init2
{
char const *fname;
func_t2 fnct;
};
struct init_time
{
	char const *fname;
	func_t_time fnct;
};

struct init const arith_fncts[]=
{
	"sin",sin,
	"cos",cos,
	"tan",tan,
	"cosh",cosh,
	"sinh",sinh,
	"tanh",tanh,
	"asin",asin,
	"acos",acos,
	"atan",atan,
	"ln",log,
	"exp",exp,
	"sqrt",sqrt,
	"fabs",fabs,
	"round",round,
	"exp",exp,
	"exp2",exp2,
	"log",log,
	0,0
};
struct init2 const arith2_fncts[]=
{
	"fmod",fmod,
	"pow",pow,
	0,0
		
};
struct init0 const arith0_fncts[]=
{
		"rand",rand,
	0,0
};
struct init_time const arith_time_fncts[]=
{
	"time",time,
	0,0
};

⌨️ 快捷键说明

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