Program to print string using outtextxy function

#include<stdio.h>
#include<conio.h>
#include<graphics.h>
#include<dos.h>
void main()
{
  clrscr();
  int gm=DETECT,gd,i;
 initgraph(&gm,&gd,"");
 outtextxy(200,240," WELCOME TO GRAPHICS IN YOUR PIC");
 getch();
}

Leave a Reply