Write a C Program to demonstrating graphics

/**************************************************************/
/*Programmed by : Vivek Patel**********************************/
/*For Bugs Free feel to contact********************************/
/*Website : www.vivekpatel.cjb.net*****************************/
/*Email : vivek_patel9@rediffmail.com**************************/
/**************************************************************/

#include
#include
#include
#include

void main(){
int gdriver=DETECT,gmode,col=400,row=600,font=4,direction=2,size=8,color=15;
initgraph(&gdriver,&gmode,"");
cleardevice();
while(!kbhit()){
settextstyle(random(font),random(direction),random(size));
setcolor(random(color));
outtextxy(random(col),random(row),"Vivek Patel");
delay(250);
}
closegraph();
}



Powered by Wufoo