W.A.P to draw rectangle using graphics function.
Post date: Jan 23, 2012 2:20:19 PM
#include <stdio.h> #include <conio.h> #include <graphics.h> void main() { int gdriver=DETECT, gmode; clrscr(); initgraph(&gdriver,&gmode,"c:\\tc\\bgi"); rectangle(100,100,200,200); getch(); closegraph(); }