On Sat 2009-03-21 06:40:21 UTC-0000, rsashwinkumar ([email protected]) 
wrote:

> int gdriver=DETECT,gmode;
> initgraph(&gdriver,&gmode,"");
> line(300,10,300,990);
> settextstyle(TRIPLEX_FONT,0,1);
> gotoxy(30,200);
> outtext("Welcome");

>From memory, you should be using outtextxy() instead, eg.

outtextxy(30, 200, "Welcome");

Keep in mind that the graphics library you are using (Borland
Graphics Interface) was superceded many years ago:

http://en.wikipedia.org/wiki/Borland_Graphics_Interface

(the article could do with some revision...)

Reply via email to