SMILEY MAKING THROUGH COMPUTER GRAPHICS
/* HEY AT LEAST APPRECIATE MY WORK DUDE */
#include<stdio.h>
#include<conio.h>
#include<graphics.h>
void main()
{
int gd=DETECT,gm;
initgraph(&gd,&gm,"c\\tc\bin");
setcolor(1);
circle(320,240,100);
setcolor(6);
circle(280,215,20);
setcolor(3);
circle(280,215,5);
setcolor(1);
circle(360,215,20);
setcolor(3);
circle(360,215,5);
setcolor(1);
line(300,270,340,270);
line(300,270,320,240);
line(340,270,320,240);
getch();
closegraph();
}
thanks a lot....!
ReplyDelete