#include<graphics.h> #include<stdlib.h> #include<stdio.h> #include<conio.h> int main(void) { clrscr(); int gdriver = DETECT,gmode,errorcode; int midx,midy; initgraph(&gdriver,&gmode,""); errorcode=graphresult(); if(errorcode != grOk) { //cout<<"Eroor"<<grapherrormsg(errorcode); getch(); exit(1); } midx=getmaxx()/2; midy=getmaxy()/2; moveto(midx,midy); outtext("Pallob"); outtext("Suba"); getch(); closegraph(); return 0; }
outtext
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)