this code:
------------------------------------------------
unsigned char c;
textbackground(YELLOW);
clrscr();
for(c=1; c<=80; c++) putchar(BK);
gotoxy(1, 2);
putchar(BK);
gotoxy(80, 2);
putchar(BK);
gotoxy(1, 3);
for(c=1; c<=80; c++) putchar(BK);
gotoxy(1, 4);
for(c=1; c<=80; c++) putchar(LH);
gotoxy(1, 25);
for(c=1; c<=25; c++) putchar(LH);
-----------------------------------------------
(BK, LH are integer constants)
dousnt work so well, it clears the screen then sends the cursor to the position of 80, 25 and starts printing the chars without performing gotoxy, is there something wrong with my code?