我的程序通过编译但结果floating point error程序如下:/* Note:Your choice is C IDE */#include "graphics.h"#include "extf.c"#include "subk.c"#include "subf.c"#include "draw.c"main(){static double p[20][2],vp[20][2],ap[20][2],del;static dou
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/29 07:02:35
我的程序通过编译但结果floating point error程序如下:/* Note:Your choice is C IDE */#include "graphics.h"#include "extf.c"#include "subk.c"#include "subf.c"#include "draw.c"main(){static double p[20][2],vp[20][2],ap[20][2],del;static dou
我的程序通过编译但结果floating point error
程序如下:
/* Note:Your choice is C IDE */
#include "graphics.h"
#include "extf.c"
#include "subk.c"
#include "subf.c"
#include "draw.c"
main()
{
static double p[20][2],vp[20][2],ap[20][2],del;
static double t[10],w[10],e[10],tbdraw[370],tb1draw[370];
static double fr[20][2],fe[20][2];
static int ic;
double r12,r34,r24,r35;
static double fk,pk,tb;
double r2,vr2,ar2,r3,vr3,ar3;
int i;
double pi,dr;
static double fr1,bt1,fr2,bt2,we1,we2,we3,we4,we5,tb1;
FILE *fp;
for(i=0;i
我的程序通过编译但结果floating point error程序如下:/* Note:Your choice is C IDE */#include "graphics.h"#include "extf.c"#include "subk.c"#include "subf.c"#include "draw.c"main(){static double p[20][2],vp[20][2],ap[20][2],del;static dou
这程序难看懂啊,还是靠自己再加点努力吧!
加油!