hi,
good day to every one
plz tell me what is the use of using this array in the program????
means what it actually represent & what's the use of using this
array in program........
int array[]={540,220,590,570,320,490,270,540,220}
*********************************************************************
/*program is for printing a rectangle...*/
#include<stdio.h>
#include<conio.h>
#include<graphics.h>
main()
{
int gd=DETECT,gm,x,y;
int array[]={540,220,590,570,320,490,270,540,220};/*????????*/
initgraph(&gd,&gm,"c:\\tc\\bgi");
x=getmaxx();/*?????????*/
y=getmaxy();/*?????????*/
rectangle(x/30,y/20,x/5,y/4);
getch();
}
*****************************************************************
and plz also tell me that what is the use of getmaxx and getmaxy..
thanks for spending ur precious time for my problem.......
bbye.......