#include "Conio.h" #include "graphics.h" #define closegr closegraph
void initgr(void) {int gd=DETECT,gm=0; registerbgidriver(EGAVGA_driver); initgraph(&gd,&gm,""); }
main() {initgr(); line(25,25,220,220); circle(100,100,50); getch(); closegr(); }