帮忙找找错误
#include <stdio.h>#include <bios.h>
#include <dos.h>
void cls(int);
void gotoxy(int,int);
void cls(line)
int line;
{
union REGS in,out;
in.x.ax=0600;
in.x.cx=0000;
in.h.dh=line-1;
in.h.dl=79;
in.h.bh=07;
int86(0x10,&in,&out);
}
void gotoxy(x,y)
int x,y;
{ in.h.dh=x;
in.h.dl=y;
in.h.ah=02;
in.h.bh=0;
int86(0x10,&in,&out);
}
void main()
{
int i;
gotoxy(0,0);
cls(11);
gotoxy(4,20);
printf("----------------");
gotoxy(5,20);
printf("|proceeding record N|");
gotoxy(6,20);
printf("----------------");
for(i=1;i<=1000;i++)
{
gotoxy(5,45);
printf("%d",i);
}
}