graphdefaults
December 24, 2011
/*
Write a program in C for graphdefaults
*/
#include<graphics.h>
#include<conio.h>
main()
{
int gd = DETECT, gm;
initgraph(&gd, &gm, "C:\\TC\\BIN");
setcolor(RED);
setbkcolor(YELLOW);
circle(250, 250, 50);
getch();
graphdefaults();
getch();
closegraph();
return 0;
}
0 Comments