outtextxy() function

outtextxy function display text or string at a specified point(x,y) on the screen.

Declaration of outtextxy() function

void outtextxy(int x, int y, char *string);

x, y are coordinates of the point and third argument contains the address of string to be displayed.

C programming code for outtextxy()

#include<graphics.h> 
#include<conio.h>
main()
{
	int gd = DETECT, gm; initgraph(&gd,&gm,"C:\\ TurboC3\\BGI"); outtextxy(100, 100, "Outtextxy function");
	getch(); 
	closegraph(); 
	return 0;
}