#include<graphics.h> #include<iostream> #include<conio.h> using namespace std; int main() {/* int gdriver=DETECT,gmode; initgraph(&gdriver,&gmode,"C:/TC/BGI"); settextstyle(COMPLEX_FONT,HORIZ_DIR,6); outtextxy(100,300,"Jonny"); */ int gdriver=DETECT,gmode; initgraph(&gdriver,&gmode,"C:/TC/BGI"); setcolor(RED); setbkcolor(WHITE); settextstyle(8,HORIZ_DIR,2); // outtext("Jonny"); // line(300,300,303,333); // outtext("\n\n\n"); // circle(200,200,100); // outtext("\n\n\n"); /// rectangle(995,995,995,995); // outtext("\n\n\n"); // bar(194,195,196,197); // outtext("\n\n\n"); // bar3d(194,195,196,197,393,192); // arc(14,15,16,17,32,12); while(true) { outtext("Jonny\n\n\n"); delay(3000); cleardevice(); outtext("Jonny Rajput"); delay(3000); } getch(); closegraph(); }*/
Comments
Post a Comment