Mail Archives: djgpp/1996/12/21/13:43:09
Now I want to printf text in the graphics mode, but it does not work, why?
The graphics mode setting is below:
set GRX20DRV=vesa gw 1024 gh 768 nc 256
and
GrSetMode(GR_default_graphics);
for (i=0;i<GrMaxX();i++)
for (j=0;j<GrMaxY();j++)
{
GrLine(i,0,i,GrMaxY(),color);
gotoxy(0,0);
printf("i=%d j=%d\n",i,j);
getch();
}
In this program, printf works after Grline, but does not work same time.
please give some help.
thanks.
*************************************************
* $BD%!!<y\G(B(ZHANG shu-huai) *
* e-mail : zhang AT cc DOT hirosaki-u DOT ac DOT jp *
* TEL : 0172-36-2111(ext.4741) *
* FAX : 0172-35-9000 *
* $B90A0Bg3XG AT 3XItG@6H%7%9%F%`9)3X2J!!(B *
*************************************************
- Raw text -