I can't open my project

Here's my code. When I click "Build and run", it opened but it came up another window said the program has stopped working.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <graphics.h>

int main()
{
    int gd = DETECT;
    int gm;
    initgraph(&gd, &gm, "C:\\TC\\BGI");

    arc(200,200,0,360,50);

    getch();
    closegraph();
}
Topic archived. No new replies allowed.