领测软件测试网
.T!s/lU5}
:s8hyj;wn
kwpc)q$rg(SR}
8z|+ZM:lIegetch();
H]#Q.rmZ9hrM}
P1u%H} Qa【程序65】
.b)B Or|Na题目:一个最优美的图案。
{hz5E g+K1.程序分析:软件测试技术门户a3Mf;X:d;l+?5L&S7W|
2.程序源代码:
h?5e\&oAmY|1\#include "graphics.h"
:J#I;z@I5i#include "math.h"
Ps W5^q.DiSZZ#include "dos.h"软件测试技术门户qeZD Vq
#include "conio.h"
+p;X8UENm|Y#include "stdlib.h"软件测试技术门户RWQ.R3S+y/[N
#include "stdio.h"
3x6T5?.h8a#r
k
N#include "stdarg.h"
f*v!t*e&k+R7\/e4J#define MAXPTS 15软件测试技术门户O1Y0sp5q.c&K
#define PI 3.1415926
,oh2J`1U
p^struct PTS {软件测试技术门户3v+G?,n;j+~4]
int x,y;
i`6A;mi?6xl};软件测试技术门户d-l7{0S^4lvS
double AspectRatio=0.85;软件测试技术门户X/~!^N)^
void LineToDemo(void)软件测试技术门户)c!D?WJ
]c
{软件测试技术门户E5P%S0k,?s
struct viewporttype vp;
8p