The graphics.h header file is not running in turbo c++ 4.5, why?

#include<graphics.h>
#include<conio.h>

void main()
{
    int gd=DETECT, gm;

    initgraph(&gd, &gm, "c:\\turboc3\\bgi " );
    circle(200,100,150);

    getch();
    closegraph();
}

Please give me a link to download c-graphics tutorial?

Recommended Answers

All 2 Replies

Thanks Shankrz
It helpd a lot i was giving Wrong path.
Its working fine for me

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.