📄 magic.h
字号:
#ifndef MAGIC
#define MAGIC
/*计算字符串浮点值的定义宏*/
#define END 700000
#define ADD 100000
#define MIS 200000
#define MUT 300000
#define DEV 400000
#define LL 500000
#define RL 600000
#define INERROR 800000
#define OUTERROR 900000
/*24点算法函数声明 24.c */
char ntoc(int n);
void output(char form[]);
void Magic(int a,int b,int c,int d,char *Answer[]);
void Output(char Form[],char Out[]);
/*计算函数声明 calc.c */
int Convert(char Input[],float Form[]);
float SmartCalc(float Form[]);
void Replace(float Form[],int Start,int End,float Res);
float FloatCalc(float Form[],int Start,int End);
float CalcForm(char Input[]);
/*图形界面函数声明 user.c */
int SetColor(int color);
int DrawBMP(int x,int y,char filename[]);
void Welcome(void);
void Quit(void);
void DrawBK(void);
void GetText(int x,int y,char *Str);
void Flash(int x,int y,int color,int bkcolor,int size);
void FlashText(void);
void NewQues(int *a,int *b,int *c,int *d);
int Justify(int a,int b,int c,int d,char Form[]);
char *ntostr(int n,char Str[]);
void Showup(void);
/*游戏操作模块函数声明*/
void Right(void);
void Wrong(void);
int Play(void);
void Gameplay(void);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -