compute.h

来自「浙大《C语言设计基础课程设计》中的例程 有些比较好的代码!」· C头文件 代码 · 共 34 行

H
34
字号
#include <stdio.h>             /* 系统提供的头文件 */
#include <math.h>
#include <graphics.h>
#include <conio.h>
#include <stdlib.h>
#include <dos.h>

#define OUTX   455            /* 信息显示框的右边显示起始x坐标 */
#define OUTY   68             /* 信息显示框的右边显示起始y坐标 */

extern void far *imagep;       /* 鼠标图标指针外部变量 */
extern int    MouseLeftFlag;   /* 鼠标左键单击标志外部变量*/

/* 简单计算器自定义的函数原型说明 */
void   GraphInit(void);
void   bottonup(int,int);
void   bottondown(int,int);
void   show(int,int);
void   clearscreen();
int     kx(char);
int     ky(char);
char   getnumber(int,int);
void   outch(double);

void   picture();

void   initmouse();
void   get_mouse_position(int *x,int *y);
int     rightpress();
int     leftpress();

double calculate(double,double,int);
void   compute();

⌨️ 快捷键说明

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