while writing a code in borland turbo c++ , I included the graphics library graphics.h but it gave the error- BGI graphics not supported under windows.
following was my code
#include<graphics.h>
#include<conio.h>
int main()
{
int gd = DETECT, gm;
initgraph(&gd,&gm,"C:\\TC\\BGI");
bar(100, 100, 200, 200);
getch();
closegraph();
return 0;
}