Moon Night - Graphics Programing - C++ Program

#include<graphics.h>
using namespace std;

int main()
{
    int gd=DETECT, gm;
    initgraph(&gd, &gm,NULL);
    int i,walk=0;
    
    
    line(0,400,getmaxx(),400);
    arc(189,202,240,300,20);
    line(181,185,10,400);
    line(197,185,368,400);
    
    circle(450,200,30);
    floodfill(450,200,15);
    
    
    
    getch();
    closegraph();
    return 0;
}


0 comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...