the problem about the circle class

#include "graphics.h"
main()
{
int driver,mode,i;
float j=1,k=1;
driver=VGA;mode=VGAHI;
initgraph(&driver,&mode,"");
setbkcolor(YELLOW);
for(i=0;i<=25;i++)
{
setcolor(8);
circle(310,250,k);
k=k+j;
j=j+0.3;
}
}
//I really didn't undersand the meaning of the circle (310,250,k); and the meaning of the driver=VGA;mode=VGAHI;
initgraph(&driver,&mode,"");
//
We don't understand the meaning of them either, because "graphics.h" is not a C++ header. It's just some header that could be anything, and it was probably provided as part of your class or it came with your outdated compiler.
Topic archived. No new replies allowed.