#include<graphics.h>
#include<stdio.h>
#include<conio.h>
void main( )
{
int gd = DETECT, gm;
initgraph(&gd, &gm, "C:\\TC\\BGI");
bar(100,100,200,200);
//Bar(Left,Top,Right,Bottom)
getch( );
closegraph( );
}
OUTPUT:
No comments:
Post a Comment