#include graphics.h
#include stdlib.h
#include stdio.h
#include conio.h
#include math.h
#define ESC 0x1b;
#define MAXNUM 100main()
{ char *buf;
char sign,sign1[MAXNUM] = {1},sign2[MAXNUM] = {1};
int i,size,a;
int x[MAXNUM],y[MAXNUM],r[MAXNUM][MAXNUM];
int gd = DETECT,gm;
clrscr();
printf("please input the number of ball you want:");
scanf("%d",&a);
registerbgidriver(EGAVGA_driver);
initgraph(&gd,&gm,"");
setcolor(YELLOW...[ 查看全文 ]