#include "stdio.h"
#include "conio.h"
#include "graphics.h"
char far *vidmem=0xB8000000;
main()
{
int gm,gd=DETECT;
int r,c,i;
char message[]="praveen";
initgraph(&gd,&gm,"");
clrscr();
for(r=5;r<=20;r++)
{
for(c=5;c<=50;c++)
write2vdu('',64,r,c);
}
c=10;
for(i=0;i<=10;i++)
{
write2vdu(message[i],77,10,c);
c++;
}
getch();
}
write2vdu(char ch,char attr,int row,int col)
{
char far *v;
v=vidmem+row*160+col*2;
*v=ch;
v++;
*v=attr;
}
when i run this it just show only white screen..but the author of this program says tat will show a box with some texts..any one help me to get correct output.thankyou....