I've started work on computer graphics. I am using Turbo C++ 3.0 as my IDE on Windows 7. The problem I am facing is that it doesn't show me any compile time error if it compiles it from Turbo C++. When I execute its EXE file, it doesn't draw any circle on the screen. It shows me the following error (compile time) if I compile it from a command prompt.
I've installed DOSBox, but it also gives me the same errors. The error I am getting is:
Undefined symbol _circle in module conc.c
Here is my code.
#include <stdio.h>
#include <graphics.h>
void main()
{
int x, y, r;
int gd = DETECT ,gm;
initgraph(&gd, &gm, "C:\\TC\\BGI");
setcolor(3);
circle(250, 200, 60);
}