I had setup codeblocks for graphics programming. like I install winbgim file. and done other setup in the codeblocks linker setting. but when I ran a program like this
// C Implementation for drawing circle
#include <graphics.h>
int main()
{
int gd = DETECT, gm;
initgraph(&gd, &gm, "");
// circle fuction
circle(250, 200, 50);
getch();
closegraph();
return 0;
}
it did not run as I expected .the process returned by 0xc0000005 . and also the winbgi window did not opened. so plz help me to out of this problem
User contributions licensed under CC BY-SA 3.0