高手帮忙看看这个程序
#include<conio.h>#include <stdio.h>
void border(int startx,int starty,int endx,int endy)
{
register int i;
gotoxy(1,1);
for(i=0;i<=endx-startx;i++)
putch('-');
gotoxy(1,endy-starty);
for(i=0;i<=endx-startx;i++)
putch('-');
for(i=2;i<=endy-starty;i++){
gotoxy(1,i);
putch('1');
gotoxy(endx-startx+1,i);
putch('1');
}
}
main()
{
void border(int,int,int,int);
clrscr();
window(6,8,38,12);
border(6,8,38,12);
gotoxy(2,2);
printf("window 1");
window(8,16,40,24);
border(8,16,40,24);
gotoxy(3,2);
printf("window 2");
getch();
}
Linking...
frl.obj : error LNK2001: unresolved external symbol _gotoxy
frl.obj : error LNK2001: unresolved external symbol _window
frl.obj : error LNK2001: unresolved external symbol _clrscr
Debugoo.exe : fatal error LNK1120: 3 unresolved externals
执行 link.exe 时出错.
为什么编译了组建不了?VC6目录下有conio.h这个库啊