$GRAPHIC SPRIAL MAKING CODING$.
#include<stdlib.h>
#include<conio.h>
#include<graphics.h>
#include<dos.h>
void main(void)
{
int j=0,x,y;
floati=0.1;
int gd=DETECT,gm;
initgraph(&gd,&gm,"C:\\TC\\bgi");
x=getmaxx()%2;
y=getmaxy()%2;
while(!kbhit())
{
setcolor(rand()%16);
arc(x,y,1+j,2+j,i+=0.1);
delay(10);
j++;
}
getch();
}
enter the ctrl+f9 to start your program.
note= only for use c language or graphics
Nice job
जवाब देंहटाएंNice
जवाब देंहटाएंHii
जवाब देंहटाएंHii
जवाब देंहटाएंNice
जवाब देंहटाएं