Mail Archives: djgpp/1999/04/11/17:23:42
I'm going to use a modified sample that DJ sent me, and DJ your's did work right, I have a feeling I know what my problem is now. This should conferm it.
#include <conio.h>
#include <pc.h>
int
main()
{
int r, c;
clrscr();
for (r=0; r<16; r++)
{
textbackground(r);
for (c=0; c<16; c++)
{
textcolor(c);
gotoxy(c+1, r+1);
cprintf("X");
}
cprintf("\n");
}
blinkvideo();
getch();
intensevideo();
getch();
}
If I'm not mistaken, the textbackground() doesn't work with it for some reason.
Brian Ronk
Get your FREE Email at http://mailcity.lycos.com
Get your PERSONALIZED START PAGE at http://personal.lycos.com
- Raw text -