begineers

I write a program in c language that name is rain drop character but one error occurs at time of execution in delay.
i use delay(4000) it's matter of heder file plz help me which header file i need to insert.
What error exactly do you have? Post you code which invokes an error.
#include<conio.h>
#include<stdio.h>

main()
{
int p,x,y,z;
char one[20];
clrscr();
printf("\n Enter any Number");
scanf("%s",one);
clrscr();
x=29;
z=0;
while(one[z]!='\0')
{
x=x+1;
y=3;
for(p=1;p<=20;p++)
{
gotoxy(x,y);
printf("%c",one[z]);
delay(4000);
if(p!=20)
{
gotoxy(x,y);
printf(" ");
}
y++;
}
z++;
}
getch();
}
Topic archived. No new replies allowed.