0

here's the program i'm trying to run, but everytime i press ctrl+f9.. i get the error in that picture below..

```
#include<stdio.h>
#include<graphics.h>
#include<dos.h>
#include<conio.h>
#include<stdlib.h>
main()
{
int choice;
clrscr();
printf("Please choose a version you like: ");
printf("\n<1> Random lang\n");
printf("<2> Moribund...\n");
scanf("%d", &choice);
switch (choice){
case 1:{ ran();
break;
}
case 2:{ moribund();
break;
}
}
}
ran()
{
int gd=DETECT, gm;
int x=0,x2=10,y2=10,i=0;
initgraph(&gd, &gm, "c:\\tc\\bgi");
srand(time(NULL));
for (x=0; x<=250; x=x+10){
setcolor(7);
line(150+x,0,150+x,250);
}
for (x=0; x<=250; x=x+10){
setcolor(7);
line(150,0+x,400,0+x);
}
x=0;
while(!kbhit()){
i++;
if ((i==1)||(i==4)){
setfillstyle(2,14);
setcolor(12);
circle(155+x2,5+y2,3);
x2 = x2+10;
y2 = y2+10;
}
if (i==5){
i=0;
x = x+10;
x2 = rand()%20*10;
y2 = rand()%20*10;
}
else{
setfillstyle(2,0);
setcolor(0);
circle(155+x2,5+y2,3);
x2 = x2+10;
y2 = y2+10;
}
if (i==15){
i=0;
x2 = 0;
y2 = 0;
}
delay(100000);
}
getch();
closegraph();
}
moribund()
{
int gd=DETECT, gm;
int x=0,x2=0,y2=0,i=0,j=0,k=0;
clrscr();
initgraph(&gd, &gm, "d:\\tc\\bgi");
srand(time(NULL));
for (x=0; x<=250; x=x+10){
setcolor(7);
line(150+x+j,0,150+x,250);
}
for (x=0; x<=250; x=x+10){
setcolor(7);
line(150,0+x,400,0+x);
}
while(!kbhit()){
i++;
if ((i==1)||(i==2)){
setcolor(12);
circle(155+x2+j,5+y2+k,3);
}
if (i==24){
y2=y2+20;
i=0;
x2 = -10;
}
x2 =x2+10;
if (y2==240){
y2 =0;
j=j+30;
k=k+10;
}
if (k==20){
k=0;
}
if (j==240){
j=0;
}
delay(1000);
}
getch();
closegraph();
}
```

[IMG]http://i88.photobucket.com/albums/k183/maye13/untitled.jpg[/IMG]

i really don't know what to do. can you please tell me what to do?

thanks a lot in advance.=)